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.001122/0.001122, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001548/0.001548, allocations: 169 kB / 24.27 MB, free: 284 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.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.203 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.949/1.949, allocations: 377.8 MB / 0.6239 GB, free: 8.578 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 1.673e-06/1.673e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.159e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00121/0.001232, allocations: 0.6676 MB / 0.8122 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.002451, allocations: 1.238 MB / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.002506, allocations: 0 / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.002538, allocations: 3.938 kB / 0.8134 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/0.002626, allocations: 17.05 kB / 0.8134 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.003148, allocations: 205.1 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.003331, allocations: 179.7 kB / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.003417, allocations: 4.75 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.003534, allocations: 99.86 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.003641, allocations: 56.77 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.003673, allocations: 16 kB / 0.814 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.781e-05/0.003731, allocations: 21.25 kB / 0.814 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.003756, allocations: 15.92 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.921e-05/0.003815, allocations: 47.95 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.003989, allocations: 143.6 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003991, allocations: 1.781 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003992, allocations: 0 / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003996, allocations: 0 / 0.8142 GB, free: 15.38 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.0004186/0.004414, allocations: 459.8 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.004449, allocations: 13.22 kB / 0.8146 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.004505, allocations: 16.88 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.529e-05/0.004591, allocations: 116.5 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.004605, allocations: 5.406 kB / 0.8148 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.004631, allocations: 12.38 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.954e-05/0.00472, allocations: 46.23 kB / 0.8148 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004727, allocations: 2 kB / 0.8148 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.004737, allocations: 4.375 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.004745, allocations: 4.312 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.004773, allocations: 15.92 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.005132, allocations: 323.7 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.952e-05/0.005201, allocations: 40.53 kB / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.005226, allocations: 19.77 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.005233, allocations: 0 / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.005337, allocations: 90.3 kB / 0.8153 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.005338, allocations: 0 / 0.8153 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002319/0.00557, allocations: 97.61 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.005625, allocations: 63.33 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.005726, allocations: 178.5 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.005749, allocations: 30.42 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.005813, allocations: 134.9 kB / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.00583, allocations: 25.75 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.005894, allocations: 51.34 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.006012, allocations: 0.4884 MB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.006121, allocations: 111.4 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.006237, allocations: 160.8 kB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.006364, allocations: 164.3 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.006366, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003111/0.006677, allocations: 320.7 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.006718, allocations: 72.52 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006722, allocations: 0 / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.006738, allocations: 8.047 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.812e-05/0.006757, allocations: 5 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.006763, allocations: 4 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.006935, allocations: 32.78 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.006957, allocations: 16.92 kB / 0.8172 GB, free: 11.99 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.538e-05/0.007042, allocations: 172.5 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.007056, allocations: 19.86 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.007082, allocations: 12.44 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.007085, allocations: 3.938 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.007089, allocations: 0.875 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.007093, allocations: 0 / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.648e-05/0.007179, allocations: 126.7 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.00718, allocations: 0 / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.007185, allocations: 4 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007188, allocations: 3.984 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.007199, allocations: 11.88 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.0072, allocations: 0 / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007201, allocations: 0.625 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.007316, allocations: 116.4 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.007326, allocations: 11.39 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.007338, allocations: 3.938 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.007351, allocations: 4 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.007397, allocations: 11.92 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.007403, allocations: 4 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.007447, allocations: 131.2 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007447, allocations: 0 / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001635/0.00761, allocations: 28 kB / 0.8178 GB, free: 11.28 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.0001187/0.007729, allocations: 108.3 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.007997, allocations: 274.5 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.007999, allocations: 0 / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.008033, allocations: 32.23 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.008196, allocations: 13.83 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.008469, allocations: 163.5 kB / 0.8184 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.008505, allocations: 62.09 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.008527, allocations: 7.984 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.008547, allocations: 12.5 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/0.008548, allocations: 3.594 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.003687/0.01223, allocations: 2.08 MB / 0.8205 GB, free: 8.512 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.151398943038657]