Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 197.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.95/2.95, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 73.11 kB / 1.109 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 168.7 MB / 1.274 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002058/0.3635, allocations: 0.6412 MB / 1.275 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3651, allocations: 1.194 MB / 1.276 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.3652, allocations: 4 kB / 1.276 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.3652, allocations: 3.938 kB / 1.276 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.643e-05/0.3653, allocations: 7.875 kB / 1.276 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.366, allocations: 224 kB / 1.276 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.3663, allocations: 167.7 kB / 1.276 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.073e-05/0.3664, allocations: 11.98 kB / 1.276 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3665, allocations: 75.88 kB / 1.276 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.3666, allocations: 59.86 kB / 1.276 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.3667, allocations: 12 kB / 1.276 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.3668, allocations: 39.91 kB / 1.276 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.3668, allocations: 11.98 kB / 1.276 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.3669, allocations: 51.78 kB / 1.277 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.3671, allocations: 159.5 kB / 1.277 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3671, allocations: 0 / 1.277 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3671, allocations: 0 / 1.277 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.3671, allocations: 0 / 1.277 GB, free: 8.535 MB / 0.9825 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.0006447/0.3678, allocations: 446.6 kB / 1.277 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3678, allocations: 8.031 kB / 1.277 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.3679, allocations: 12.89 kB / 1.277 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.368, allocations: 164.4 kB / 1.277 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.368, allocations: 4.375 kB / 1.277 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.3681, allocations: 12.38 kB / 1.277 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3682, allocations: 50.17 kB / 1.277 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3682, allocations: 4.188 kB / 1.277 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3682, allocations: 3.938 kB / 1.277 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3682, allocations: 0 / 1.277 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/0.3683, allocations: 27.97 kB / 1.277 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.3689, allocations: 352.8 kB / 1.278 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.508e-05/0.369, allocations: 42.44 kB / 1.278 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.369, allocations: 12.86 kB / 1.278 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3691, allocations: 4 kB / 1.278 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.3692, allocations: 88.61 kB / 1.278 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3693, allocations: 0 / 1.278 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.00034/0.3696, allocations: 113.5 kB / 1.278 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.3696, allocations: 51.41 kB / 1.278 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3698, allocations: 117.8 kB / 1.278 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.3698, allocations: 33.7 kB / 1.278 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.283e-05/0.3699, allocations: 96.09 kB / 1.278 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.3699, allocations: 15.88 kB / 1.278 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.37, allocations: 54.06 kB / 1.278 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3702, allocations: 318.8 kB / 1.279 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3704, allocations: 63.95 kB / 1.279 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.3705, allocations: 99.64 kB / 1.279 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.3708, allocations: 163.6 kB / 1.279 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3708, allocations: 0 / 1.279 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004711/0.3712, allocations: 260.9 kB / 1.279 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/0.3713, allocations: 71.39 kB / 1.279 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3713, allocations: 3.938 kB / 1.279 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3713, allocations: 0 / 1.279 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.593e-05/0.3714, allocations: 8.125 kB / 1.279 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3714, allocations: 0 / 1.279 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.3717, allocations: 51.89 kB / 1.279 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.3718, allocations: 19.98 kB / 1.279 GB, free: 5.516 MB / 0.9825 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 0.0001354/0.3719, allocations: 122.3 kB / 1.279 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3719, allocations: 3.953 kB / 1.279 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.372, allocations: 20.36 kB / 1.279 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.372, allocations: 0 / 1.279 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.372, allocations: 0 / 1.279 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.372, allocations: 3.938 kB / 1.279 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.3722, allocations: 177.5 kB / 1.28 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3722, allocations: 0 / 1.28 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.3722, allocations: 7.984 kB / 1.28 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3722, allocations: 0 / 1.28 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.3722, allocations: 0 / 1.28 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3722, allocations: 0 / 1.28 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3722, allocations: 0 / 1.28 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.3724, allocations: 121 kB / 1.28 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.3724, allocations: 81.11 kB / 1.28 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3724, allocations: 96 / 1.28 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.413e-05/0.3725, allocations: 7.938 kB / 1.28 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3725, allocations: 7.984 kB / 1.28 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3725, allocations: 8.062 kB / 1.28 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001246/0.3726, allocations: 95.2 kB / 1.28 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3726, allocations: 4 kB / 1.28 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002501/0.3729, allocations: 32 kB / 1.28 GB, free: 4.738 MB / 0.9825 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.0001857/0.3731, allocations: 107.2 kB / 1.28 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.3735, allocations: 226.6 kB / 1.28 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3735, allocations: 0 / 1.28 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/0.3736, allocations: 20 kB / 1.28 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.3738, allocations: 21.8 kB / 1.28 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.3743, allocations: 174.5 kB / 1.28 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.3746, allocations: 0.6885 MB / 1.281 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.3746, allocations: 4 kB / 1.281 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3747, allocations: 11.44 kB / 1.281 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3747, allocations: 0 / 1.281 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.005119/0.3798, allocations: 1.869 MB / 1.283 GB, free: 1.566 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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 [Calling sys.exit(0), Time elapsed: 9.348427267279476]