Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001393/0.001393, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001142/0.001142, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.891/1.891, allocations: 377.9 MB / 0.6239 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.973e-05, allocations: 3.25 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001219/0.001238, allocations: 0.6615 MB / 0.8127 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.002466, allocations: 1.237 MB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.002513, allocations: 1.031 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.002541, allocations: 3.938 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.00262, allocations: 16.55 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.003087, allocations: 213.1 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.003273, allocations: 175.7 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.003358, allocations: 9.469 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.003477, allocations: 91.92 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.003581, allocations: 55.84 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.003611, allocations: 19.98 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.00367, allocations: 21.19 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.003695, allocations: 11.98 kB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.003745, allocations: 55.89 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.003892, allocations: 133.3 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003894, allocations: 0 / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003895, allocations: 0 / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003898, allocations: 0 / 0.8146 GB, free: 14.79 MB / 0.7761 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.0003954/0.004294, allocations: 470.4 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.004338, allocations: 8.031 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.00438, allocations: 12.89 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.507e-05/0.004455, allocations: 120.5 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.004469, allocations: 8.375 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.004487, allocations: 8.375 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.394e-05/0.004561, allocations: 54.11 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.004569, allocations: 0.9062 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.004576, allocations: 4.359 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.004581, allocations: 0.9062 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.004599, allocations: 17.58 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.004877, allocations: 308.3 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/0.00493, allocations: 38.98 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.004944, allocations: 11.78 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.004951, allocations: 4.516 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.586e-05/0.005037, allocations: 77.56 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.005038, allocations: 0.8438 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000163/0.005201, allocations: 97.48 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.00523, allocations: 56.56 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.005309, allocations: 185.8 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.005329, allocations: 29.7 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.005384, allocations: 134.9 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.005396, allocations: 17.27 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.005456, allocations: 55.31 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.005565, allocations: 0.4884 MB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.005644, allocations: 105.1 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.928e-05/0.005733, allocations: 148.8 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.005834, allocations: 158.6 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005836, allocations: 4 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002402/0.006076, allocations: 303.2 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/0.006122, allocations: 71.33 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.006128, allocations: 0 / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.006139, allocations: 0 / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-05/0.006154, allocations: 4 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.006158, allocations: 3.984 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.0063, allocations: 42.62 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.006319, allocations: 11.98 kB / 0.8176 GB, free: 11.47 MB / 0.7761 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 7.621e-05/0.006396, allocations: 172.5 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.006406, allocations: 7.953 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.006701, allocations: 18 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006703, allocations: 3.938 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.006705, allocations: 3.984 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006709, allocations: 64 / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.493e-05/0.006784, allocations: 113.7 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006785, allocations: 0 / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.006792, allocations: 4.531 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006794, allocations: 1.594 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.006798, allocations: 0 / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.0068, allocations: 320 / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006801, allocations: 3.938 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.006902, allocations: 124.8 kB / 0.818 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.00691, allocations: 7.953 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.006919, allocations: 1.031 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.189e-05/0.006931, allocations: 3.984 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.00696, allocations: 11.62 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.006966, allocations: 11.98 kB / 0.818 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.007002, allocations: 123.2 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.11e-07/0.007002, allocations: 0 / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001489/0.007151, allocations: 31.98 kB / 0.8182 GB, free: 10.79 MB / 0.7761 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.0001021/0.007253, allocations: 103.2 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.007469, allocations: 265.8 kB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.007471, allocations: 1.781 kB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.007497, allocations: 27.61 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.007652, allocations: 19.23 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002229/0.007875, allocations: 155.8 kB / 0.8187 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.026e-05/0.007905, allocations: 70.97 kB / 0.8188 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.719e-05/0.007922, allocations: 4 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.008024, allocations: 102.2 kB / 0.8189 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.008025, allocations: 1.094 kB / 0.8189 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of Templates: time 0.003653/0.01168, allocations: 2.254 MB / 0.8211 GB, free: 7.77 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.131164953112602]