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.00133/0.00133, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001507/0.001507, allocations: 165 kB / 23.82 MB, free: 0.75 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 0.9477/0.9477, allocations: 177.2 MB / 204.2 MB, free: 5.637 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.943/1.943, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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 3.597e-06/3.597e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.011e-05/4.37e-05, allocations: 3.594 kB / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002141/0.002185, allocations: 0.672 MB / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.004409, allocations: 1.23 MB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.004464, allocations: 4 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.004504, allocations: 7.922 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.00459, allocations: 12.84 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.005217, allocations: 217.5 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.005411, allocations: 171.7 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.00552, allocations: 7.984 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.00564, allocations: 96.98 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.005759, allocations: 55.91 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.005789, allocations: 12 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.005861, allocations: 28.67 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.005888, allocations: 11.94 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.005955, allocations: 48.84 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.006168, allocations: 143.6 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.006173, allocations: 0 / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.643e-06/0.006175, allocations: 0.6562 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.006181, allocations: 0 / 0.8142 GB, free: 15.02 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.0004927/0.006674, allocations: 464.7 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.006715, allocations: 8.031 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.00678, allocations: 18.14 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.959e-05/0.00688, allocations: 116.5 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.006898, allocations: 8.359 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.006922, allocations: 14.31 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.007024, allocations: 42.19 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.007035, allocations: 192 / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.007046, allocations: 4.359 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.007055, allocations: 4.375 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.921e-05/0.007084, allocations: 12.97 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.007477, allocations: 327.7 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/0.007551, allocations: 40.52 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.007577, allocations: 15.69 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.007586, allocations: 4 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.007708, allocations: 89.03 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.00771, allocations: 0.9688 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002066/0.007916, allocations: 97.56 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.007953, allocations: 52.16 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.008046, allocations: 181.9 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.008066, allocations: 30.39 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.008124, allocations: 138.9 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.008137, allocations: 16.48 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.008205, allocations: 55.34 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.008327, allocations: 0.4895 MB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.008453, allocations: 115.4 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.00858, allocations: 157.7 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.008726, allocations: 167.5 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.008728, allocations: 1.125 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003193/0.009048, allocations: 320.7 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.009095, allocations: 68.27 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.009101, allocations: 4 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.009117, allocations: 64 / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.087e-05/0.009138, allocations: 9.719 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.009144, allocations: 320 / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.009317, allocations: 41.89 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.009341, allocations: 15.98 kB / 0.8172 GB, free: 11.62 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 8.912e-05/0.00943, allocations: 172.5 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.009444, allocations: 11.89 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.009473, allocations: 9.219 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.009476, allocations: 4 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.009479, allocations: 3.438 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.009484, allocations: 3.984 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.997e-05/0.009574, allocations: 120.6 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009575, allocations: 0 / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-06/0.009583, allocations: 4 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009585, allocations: 0 / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.009594, allocations: 7.938 kB / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009595, allocations: 0 / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009596, allocations: 0 / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.009722, allocations: 128.3 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.009732, allocations: 12.55 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.009746, allocations: 7.938 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.009764, allocations: 4.5 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.00981, allocations: 9.547 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.009816, allocations: 0 / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.378e-05/0.00987, allocations: 135.2 kB / 0.8178 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00987, allocations: 0 / 0.8178 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001716/0.01004, allocations: 28.88 kB / 0.8178 GB, free: 10.91 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.0001842/0.01023, allocations: 101 kB / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.01056, allocations: 284.5 kB / 0.8182 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01056, allocations: 0 / 0.8182 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.692e-05/0.01061, allocations: 32.23 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.01086, allocations: 25.08 kB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.01127, allocations: 154.9 kB / 0.8184 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.062e-05/0.01132, allocations: 68.55 kB / 0.8185 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.01135, allocations: 4 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.01138, allocations: 8.5 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of SimCode: time 8.51e-07/0.01138, allocations: 4.781 kB / 0.8185 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of Templates: time 0.004477/0.01586, allocations: 2.072 MB / 0.8205 GB, free: 8.164 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.324347910936922]