Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 176.9 kB / 487.4 MB, free: 5.008 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008798/0.0008797, allocations: 91.91 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.183e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3086, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.361, allocations: 148.6 MB / 1.351 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/1.361, allocations: 66.17 kB / 1.351 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00959/1.371, allocations: 2.914 MB / 1.354 GB, free: 34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/1.371, allocations: 0 / 1.354 GB, free: 34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.371, allocations: 7.875 kB / 1.354 GB, free: 33.99 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004104/1.371, allocations: 412.9 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.371, allocations: 8.25 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/1.371, allocations: 8.172 kB / 1.354 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/1.371, allocations: 167.6 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/1.372, allocations: 4.844 kB / 1.355 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/1.372, allocations: 12.25 kB / 1.355 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.86e-05/1.372, allocations: 17.81 kB / 1.355 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.495e-05/1.372, allocations: 49.17 kB / 1.355 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.372, allocations: 0 / 1.355 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/1.372, allocations: 0.75 kB / 1.355 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.372, allocations: 0 / 1.355 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/1.372, allocations: 336.2 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.865e-05/1.372, allocations: 34.86 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/1.372, allocations: 19.58 kB / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/1.372, allocations: 0.7031 kB / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/1.373, allocations: 75.36 kB / 1.355 GB, free: 33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/1.373, allocations: 0 / 1.355 GB, free: 33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002046/1.373, allocations: 84.36 kB / 1.355 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/1.373, allocations: 59.38 kB / 1.355 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/1.373, allocations: 107.4 kB / 1.355 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/1.373, allocations: 33.48 kB / 1.355 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/1.373, allocations: 93.84 kB / 1.355 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/1.373, allocations: 10.7 kB / 1.356 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/1.373, allocations: 3.875 kB / 1.356 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.373, allocations: 324.3 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/1.373, allocations: 50.36 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/1.373, allocations: 89.55 kB / 1.356 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/1.374, allocations: 69.19 kB / 1.356 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.374, allocations: 0 / 1.356 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004541/1.374, allocations: 202.9 kB / 1.356 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/1.374, allocations: 66.16 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/1.374, allocations: 3.844 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.374, allocations: 0.75 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.199e-05/1.374, allocations: 4.594 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.374, allocations: 0.7031 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/1.375, allocations: 73.81 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/1.375, allocations: 18.28 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.511e-05/1.375, allocations: 113.5 kB / 1.356 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/1.375, allocations: 11.06 kB / 1.356 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/1.375, allocations: 5.797 kB / 1.356 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.375, allocations: 7.781 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.375, allocations: 0 / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.375, allocations: 0.7969 kB / 1.357 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.911e-05/1.375, allocations: 157.2 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.375, allocations: 3.844 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-06/1.375, allocations: 0.6094 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.375, allocations: 0.75 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.375, allocations: 4.891 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.375, allocations: 5.281 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.375, allocations: 0 / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/1.375, allocations: 105.4 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/1.375, allocations: 88.72 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/1.375, allocations: 0.7031 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/1.375, allocations: 0.7031 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/1.375, allocations: 7.828 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/1.375, allocations: 8.453 kB / 1.357 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.716e-05/1.375, allocations: 94.83 kB / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.375, allocations: 0 / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002297/1.376, allocations: 32.72 kB / 1.357 GB, free: 31.65 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002114/1.376, allocations: 108.3 kB / 1.357 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002625/1.376, allocations: 234.7 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/1.376, allocations: 0 / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-05/1.376, allocations: 31.45 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/1.376, allocations: 15.45 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/1.377, allocations: 89.19 kB / 1.357 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/1.377, allocations: 0.6922 MB / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.894e-05/1.377, allocations: 8.406 kB / 1.358 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/1.377, allocations: 11.28 kB / 1.358 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.377, allocations: 4 kB / 1.358 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.003924/1.381, allocations: 1.566 MB / 1.36 GB, free: 30.5 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches