Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 169 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.173/2.173, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.23e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001424/0.001456, allocations: 0.671 MB / 0.8789 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.002847, allocations: 1.229 MB / 0.8801 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.002894, allocations: 0.6562 kB / 0.8801 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.002922, allocations: 4.828 kB / 0.8801 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.6e-05/0.002998, allocations: 16.2 kB / 0.8801 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.003464, allocations: 212.9 kB / 0.8803 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.003641, allocations: 177.4 kB / 0.8805 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.003733, allocations: 7.984 kB / 0.8805 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.003843, allocations: 95.92 kB / 0.8805 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.003943, allocations: 51.84 kB / 0.8806 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.003975, allocations: 17.19 kB / 0.8806 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.00404, allocations: 27.98 kB / 0.8806 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.00406, allocations: 4 kB / 0.8806 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.004122, allocations: 60.97 kB / 0.8807 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.00429, allocations: 135.6 kB / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004292, allocations: 0 / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.32e-07/0.004293, allocations: 0.6562 kB / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.004298, allocations: 0 / 0.8808 GB, free: 3.945 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.0004203/0.004718, allocations: 472.5 kB / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.004757, allocations: 9.406 kB / 0.8813 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.004816, allocations: 12.89 kB / 0.8813 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.004896, allocations: 116.6 kB / 0.8814 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.00491, allocations: 8.312 kB / 0.8814 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.004935, allocations: 9.406 kB / 0.8814 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.88e-05/0.005024, allocations: 46.25 kB / 0.8815 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.00503, allocations: 192 / 0.8815 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.005041, allocations: 5.422 kB / 0.8815 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.005047, allocations: 384 / 0.8815 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.733e-05/0.005075, allocations: 11.94 kB / 0.8815 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.005485, allocations: 332.7 kB / 0.8818 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.996e-05/0.005585, allocations: 46.98 kB / 0.8819 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.005617, allocations: 12.81 kB / 0.8819 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.005623, allocations: 0 / 0.8819 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.005732, allocations: 89.03 kB / 0.882 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.005733, allocations: 2.938 kB / 0.882 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002019/0.005935, allocations: 101.6 kB / 0.8821 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.005971, allocations: 55.41 kB / 0.8821 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.00606, allocations: 177.9 kB / 0.8823 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.006082, allocations: 29.7 kB / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.00614, allocations: 138.8 kB / 0.8824 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.006152, allocations: 11.94 kB / 0.8824 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.006216, allocations: 56.94 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.006366, allocations: 0.4884 MB / 0.883 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.006475, allocations: 111.4 kB / 0.8831 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.006598, allocations: 174.1 kB / 0.8833 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.006721, allocations: 164.1 kB / 0.8834 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006723, allocations: 0 / 0.8834 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002991/0.007022, allocations: 328.6 kB / 0.8837 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.007061, allocations: 64.27 kB / 0.8838 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.007067, allocations: 0 / 0.8838 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.007079, allocations: 4.656 kB / 0.8838 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.919e-05/0.007098, allocations: 4 kB / 0.8838 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.007104, allocations: 5.594 kB / 0.8838 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.00727, allocations: 39.91 kB / 0.8838 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.00729, allocations: 16.11 kB / 0.8839 GB, free: 0.5352 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,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.082e-05/0.007371, allocations: 172.5 kB / 0.884 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.007381, allocations: 7.938 kB / 0.884 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.007406, allocations: 12.44 kB / 0.884 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007408, allocations: 0 / 0.884 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.007411, allocations: 0 / 0.884 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.007416, allocations: 3.984 kB / 0.884 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.941e-05/0.007495, allocations: 132.6 kB / 0.8842 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007496, allocations: 0 / 0.8842 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-06/0.007501, allocations: 0 / 0.8842 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.007502, allocations: 4 kB / 0.8842 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.00751, allocations: 7.938 kB / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007511, allocations: 0 / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007512, allocations: 0 / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.007618, allocations: 120.3 kB / 0.8843 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.007627, allocations: 11.94 kB / 0.8843 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.007639, allocations: 3.938 kB / 0.8843 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.272e-05/0.007651, allocations: 0 / 0.8843 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.007703, allocations: 11.98 kB / 0.8843 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.007709, allocations: 4 kB / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.007747, allocations: 127.2 kB / 0.8844 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007747, allocations: 8 kB / 0.8844 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001645/0.007911, allocations: 28 kB / 0.8845 GB, free: 15.82 MB / 0.8542 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001222/0.008033, allocations: 95.25 kB / 0.8846 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.008298, allocations: 281.8 kB / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.0083, allocations: 0 / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.008336, allocations: 31.61 kB / 0.8849 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.008513, allocations: 32.84 kB / 0.8849 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.0088, allocations: 150.8 kB / 0.885 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.008835, allocations: 67.34 kB / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.008858, allocations: 7.859 kB / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.008879, allocations: 12.5 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of SimCode: time 7.22e-07/0.00888, allocations: 0 / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of Templates: time 0.00407/0.01295, allocations: 2.083 MB / 0.8872 GB, free: 13.04 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.498261793982238]