Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001373/0.001373, allocations: 110 kB / 18.93 MB, free: 2.945 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.001647/0.001647, allocations: 190.2 kB / 22.23 MB, free: 5.156 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.502/1.502, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.199/3.199, allocations: 495.7 MB / 0.7831 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 68.33 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4199, allocations: 173.6 MB / 1.307 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00213/0.422, allocations: 0.7224 MB / 1.308 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.424, allocations: 1.256 MB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.4241, allocations: 3.938 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.4242, allocations: 15.88 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.4243, allocations: 15.84 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009193/0.4252, allocations: 245.6 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.4256, allocations: 243.6 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.4257, allocations: 27.97 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.4259, allocations: 99.88 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.4261, allocations: 87.7 kB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.4261, allocations: 20 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.4263, allocations: 47.92 kB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.246e-05/0.4264, allocations: 35.89 kB / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.4265, allocations: 91.64 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.4268, allocations: 235 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.4268, allocations: 0 / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4268, allocations: 4 kB / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.4269, allocations: 0 / 1.31 GB, free: 14.76 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007138/0.4276, allocations: 425.1 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4276, allocations: 12.03 kB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.4277, allocations: 24.83 kB / 1.31 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/0.4284, allocations: 194.4 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.4284, allocations: 16.38 kB / 1.311 GB, free: 14.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.4284, allocations: 16.38 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.4287, allocations: 131.8 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4287, allocations: 3.938 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.4287, allocations: 8 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4287, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.749e-05/0.4288, allocations: 51.91 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.4296, allocations: 0.6368 MB / 1.311 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.405e-05/0.4297, allocations: 41.09 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.4298, allocations: 25.83 kB / 1.312 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.4298, allocations: 0 / 1.312 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.4299, allocations: 92.92 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.4299, allocations: 3.938 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0003086/0.4303, allocations: 101.9 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.4303, allocations: 89.09 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.4305, allocations: 162.2 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.4305, allocations: 33.7 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.4307, allocations: 131.7 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.4307, allocations: 11.89 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.4308, allocations: 61.69 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.431, allocations: 322.8 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4311, allocations: 59.95 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.4313, allocations: 116.5 kB / 1.313 GB, free: 11.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.4315, allocations: 174.2 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4315, allocations: 0 / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004577/0.432, allocations: 276.9 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.466e-05/0.432, allocations: 69.77 kB / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.432, allocations: 0 / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4321, allocations: 4 kB / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.753e-05/0.4321, allocations: 8 kB / 1.313 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4321, allocations: 3.938 kB / 1.313 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.4325, allocations: 71.88 kB / 1.313 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.4326, allocations: 11.98 kB / 1.313 GB, free: 11.09 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001565/0.4327, allocations: 148.2 kB / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.4328, allocations: 15.89 kB / 1.313 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.4328, allocations: 8.344 kB / 1.313 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4328, allocations: 4 kB / 1.313 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4328, allocations: 0 / 1.313 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4328, allocations: 4.078 kB / 1.313 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.433, allocations: 176.6 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.433, allocations: 3.938 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-06/0.433, allocations: 7.984 kB / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.433, allocations: 0 / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.433, allocations: 4 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.433, allocations: 7.938 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.433, allocations: 0 / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.4332, allocations: 117.9 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.4332, allocations: 11.89 kB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.4332, allocations: 7.938 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.4333, allocations: 4 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.4333, allocations: 7.984 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.4333, allocations: 4 kB / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001057/0.4334, allocations: 123.8 kB / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4334, allocations: 0 / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002858/0.4337, allocations: 39.94 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0002434/0.4339, allocations: 111.9 kB / 1.314 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.4343, allocations: 210.7 kB / 1.314 GB, free: 9.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4343, allocations: 0 / 1.314 GB, free: 9.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.4344, allocations: 19.92 kB / 1.314 GB, free: 9.961 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.4347, allocations: 27.91 kB / 1.314 GB, free: 9.934 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.4353, allocations: 244.7 kB / 1.315 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.4357, allocations: 0.7081 MB / 1.315 GB, free: 8.934 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.4357, allocations: 16.95 kB / 1.315 GB, free: 8.914 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.4357, allocations: 11.44 kB / 1.315 GB, free: 8.902 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.4357, allocations: 0 / 1.315 GB, free: 8.902 MB / 1.014 GB Notification: Performance of Templates: time 0.006163/0.4419, allocations: 2.038 MB / 1.317 GB, free: 6.887 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.496688232757151]