Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001674/0.001674, allocations: 102.1 kB / 19.7 MB, free: 2.246 MB / 14.72 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.00188/0.00188, allocations: 222.5 kB / 23.01 MB, free: 5.086 MB / 14.72 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.297/3.297, allocations: 0.505 GB / 0.8108 GB, free: 21.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 70.28 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3771, allocations: 180.2 MB / 1.354 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001906/0.379, allocations: 0.6606 MB / 1.355 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3806, allocations: 1.229 MB / 1.356 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.3807, allocations: 0 / 1.356 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.3807, allocations: 7.938 kB / 1.356 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.3808, allocations: 3.938 kB / 1.356 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.3814, allocations: 219.5 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.3817, allocations: 179.7 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.3818, allocations: 8 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3819, allocations: 71.83 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.382, allocations: 67.84 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.3821, allocations: 16 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.3821, allocations: 31.98 kB / 1.357 GB, free: 5.402 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.3822, allocations: 11.94 kB / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.3822, allocations: 55.88 kB / 1.357 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.3825, allocations: 155.5 kB / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3825, allocations: 0 / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3825, allocations: 0 / 1.357 GB, free: 5.184 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3825, allocations: 0 / 1.357 GB, free: 5.184 MB / 1.045 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.0005458/0.383, allocations: 365.5 kB / 1.357 GB, free: 4.781 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3831, allocations: 12.03 kB / 1.357 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.3831, allocations: 12.89 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.3832, allocations: 114.4 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3832, allocations: 12.38 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.3833, allocations: 8.375 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.3834, allocations: 50.23 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3834, allocations: 192 / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3834, allocations: 3.938 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3834, allocations: 0 / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.3835, allocations: 19.98 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.384, allocations: 335.7 kB / 1.358 GB, free: 4.152 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.633e-05/0.3841, allocations: 30.52 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.3841, allocations: 20.94 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.974e-06/0.3841, allocations: 0 / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.3843, allocations: 79.36 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3843, allocations: 4 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002604/0.3845, allocations: 105.6 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3846, allocations: 59.39 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.3847, allocations: 117.8 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.3847, allocations: 29.7 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.3848, allocations: 92.09 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.3848, allocations: 19.92 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.3849, allocations: 49.62 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3851, allocations: 322.8 kB / 1.359 GB, free: 3.164 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3852, allocations: 63.95 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3854, allocations: 92.2 kB / 1.359 GB, free: 2.996 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.3856, allocations: 164 kB / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3856, allocations: 0 / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000436/0.386, allocations: 268.8 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.3861, allocations: 67.39 kB / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3861, allocations: 0 / 1.359 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3861, allocations: 4 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.912e-05/0.3861, allocations: 0 / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3861, allocations: 4.438 kB / 1.359 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.3865, allocations: 55.89 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.3865, allocations: 15.98 kB / 1.359 GB, free: 2.371 MB / 1.045 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.0001234/0.3866, allocations: 134.2 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.3866, allocations: 7.953 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.3867, allocations: 8.375 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3867, allocations: 4 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3867, allocations: 7.984 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3867, allocations: 3.984 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.3868, allocations: 144.7 kB / 1.36 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3868, allocations: 0 / 1.36 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-06/0.3868, allocations: 0 / 1.36 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3868, allocations: 64 / 1.36 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3868, allocations: 15.98 kB / 1.36 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3868, allocations: 0 / 1.36 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3868, allocations: 0 / 1.36 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.387, allocations: 121 kB / 1.36 GB, free: 1.863 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.387, allocations: 7.953 kB / 1.36 GB, free: 1.855 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.387, allocations: 4 kB / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.008e-05/0.3871, allocations: 0 / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.3871, allocations: 11.98 kB / 1.36 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3871, allocations: 0 / 1.36 GB, free: 1.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.448e-05/0.3872, allocations: 95.2 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3872, allocations: 0 / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000233/0.3874, allocations: 35.94 kB / 1.36 GB, free: 1.711 MB / 1.045 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.0001612/0.3876, allocations: 103.2 kB / 1.36 GB, free: 1.602 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.3879, allocations: 222.6 kB / 1.36 GB, free: 1.359 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3879, allocations: 0 / 1.36 GB, free: 1.359 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.385e-05/0.388, allocations: 19.94 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.3882, allocations: 24.17 kB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.3886, allocations: 184.5 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3889, allocations: 0.6885 MB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.3889, allocations: 11.44 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3889, allocations: 0 / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of Templates: time 0.00326/0.3922, allocations: 1.4 MB / 1.362 GB, free: 14.98 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.486783426982583]