Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 104.2 kB / 16.4 MB, free: 6.488 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 191.7 kB / 19.35 MB, free: 3.754 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.882/2.882, allocations: 437 MB / 0.717 GB, free: 4.098 MB / 0.5762 GB [Timeout remaining time 86] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=509,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=509,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 63.91 kB / 1.027 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9637/0.9656, allocations: 151.6 MB / 1.175 GB, free: 17.94 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001915/0.9675, allocations: 0.6674 MB / 1.176 GB, free: 17.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.969, allocations: 1.194 MB / 1.177 GB, free: 16.64 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.9691, allocations: 0 / 1.177 GB, free: 16.64 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.9691, allocations: 5.062 kB / 1.177 GB, free: 16.64 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.9692, allocations: 7.062 kB / 1.177 GB, free: 16.64 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.9699, allocations: 220.8 kB / 1.177 GB, free: 16.53 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.9702, allocations: 192.3 kB / 1.177 GB, free: 16.45 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.9703, allocations: 11.17 kB / 1.177 GB, free: 16.44 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.9705, allocations: 63 kB / 1.177 GB, free: 16.42 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.9706, allocations: 66.47 kB / 1.178 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.9707, allocations: 15.84 kB / 1.178 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.9708, allocations: 30.11 kB / 1.178 GB, free: 16.39 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.9708, allocations: 12.95 kB / 1.178 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.9709, allocations: 60.8 kB / 1.178 GB, free: 16.35 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.9711, allocations: 155.2 kB / 1.178 GB, free: 16.3 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.9712, allocations: 4.656 kB / 1.178 GB, free: 16.3 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9712, allocations: 1.219 kB / 1.178 GB, free: 16.3 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9712, allocations: 0 / 1.178 GB, free: 16.3 MB / 0.92 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.0004941/0.9717, allocations: 435.2 kB / 1.178 GB, free: 15.86 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.9717, allocations: 9.844 kB / 1.178 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.9718, allocations: 12.45 kB / 1.178 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.9719, allocations: 172.8 kB / 1.178 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.9719, allocations: 10.12 kB / 1.178 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.9719, allocations: 9.094 kB / 1.178 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.9721, allocations: 50.23 kB / 1.178 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9721, allocations: 1.375 kB / 1.178 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.9721, allocations: 4.5 kB / 1.178 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.9721, allocations: 1.469 kB / 1.178 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.9721, allocations: 14.19 kB / 1.178 GB, free: 15.6 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.9726, allocations: 360.9 kB / 1.179 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.539e-05/0.9727, allocations: 42.77 kB / 1.179 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.9728, allocations: 21.92 kB / 1.179 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.9728, allocations: 3.938 kB / 1.179 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.9729, allocations: 85.97 kB / 1.179 GB, free: 15.17 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.973, allocations: 1.125 kB / 1.179 GB, free: 15.17 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002648/0.9732, allocations: 100 kB / 1.179 GB, free: 15.12 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.9733, allocations: 58.39 kB / 1.179 GB, free: 15.05 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.9733, allocations: 115.7 kB / 1.179 GB, free: 14.95 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.9734, allocations: 34.52 kB / 1.179 GB, free: 14.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.9734, allocations: 89.39 kB / 1.179 GB, free: 14.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.9734, allocations: 19.69 kB / 1.179 GB, free: 14.81 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.606e-05/0.9735, allocations: 49.17 kB / 1.179 GB, free: 14.79 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.9736, allocations: 322.8 kB / 1.18 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.9737, allocations: 61.17 kB / 1.18 GB, free: 14.45 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.9739, allocations: 100.6 kB / 1.18 GB, free: 14.38 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.9741, allocations: 154.2 kB / 1.18 GB, free: 14.24 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9741, allocations: 0 / 1.18 GB, free: 14.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004249/0.9745, allocations: 264.4 kB / 1.18 GB, free: 14.09 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.9746, allocations: 67.41 kB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9746, allocations: 2.016 kB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.9746, allocations: 2.344 kB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.356e-05/0.9746, allocations: 3.453 kB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.9746, allocations: 6.016 kB / 1.18 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.975, allocations: 67.41 kB / 1.18 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.975, allocations: 12.72 kB / 1.18 GB, free: 14 MB / 0.92 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.557e-05/0.9751, allocations: 122.9 kB / 1.181 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.9752, allocations: 6.766 kB / 1.181 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.9752, allocations: 11.06 kB / 1.181 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.9752, allocations: 1.312 kB / 1.181 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.9752, allocations: 0 / 1.181 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.9752, allocations: 1.969 kB / 1.181 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.9753, allocations: 183.1 kB / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9754, allocations: 0 / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.9754, allocations: 1.922 kB / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9754, allocations: 1.312 kB / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.9754, allocations: 2.516 kB / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9754, allocations: 320 / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9754, allocations: 1.375 kB / 1.181 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.9755, allocations: 124.1 kB / 1.181 GB, free: 13.56 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.9756, allocations: 83.34 kB / 1.181 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.9756, allocations: 2.047 kB / 1.181 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.9756, allocations: 4.562 kB / 1.181 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.9757, allocations: 11.78 kB / 1.181 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.9757, allocations: 3.422 kB / 1.181 GB, free: 13.45 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.9757, allocations: 88.77 kB / 1.181 GB, free: 13.38 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9757, allocations: 1.312 kB / 1.181 GB, free: 13.38 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002439/0.976, allocations: 28.27 kB / 1.181 GB, free: 13.38 MB / 0.92 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.0001833/0.9762, allocations: 112 kB / 1.181 GB, free: 13.28 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.9766, allocations: 254.6 kB / 1.181 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9766, allocations: 0 / 1.181 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.9766, allocations: 27.48 kB / 1.181 GB, free: 13.09 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.9769, allocations: 23.06 kB / 1.181 GB, free: 13.08 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.9772, allocations: 159.1 kB / 1.182 GB, free: 12.94 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.9773, allocations: 0.6865 MB / 1.182 GB, free: 12.25 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.9774, allocations: 4.844 kB / 1.182 GB, free: 12.25 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.9774, allocations: 11.89 kB / 1.182 GB, free: 12.24 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.9774, allocations: 0 / 1.182 GB, free: 12.24 MB / 0.92 GB Notification: Performance of Templates: time 0.005365/0.9828, allocations: 1.858 MB / 1.184 GB, free: 12.07 MB / 0.92 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches