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.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.002316/0.002316, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002688/0.002688, allocations: 177.2 kB / 22.77 MB, free: 1.66 MB / 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.338/3.338, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.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 2.374e-06/2.374e-06, allocations: 0.6562 kB / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.255e-05/3.493e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002252/0.002287, allocations: 0.7123 MB / 0.8781 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.004488, allocations: 1.271 MB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.004564, allocations: 0.6562 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.00471, allocations: 14.28 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.253e-05/0.004783, allocations: 21.39 kB / 0.8794 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.005672, allocations: 236.5 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004479/0.00612, allocations: 252.5 kB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.006252, allocations: 23.97 kB / 0.8799 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.00653, allocations: 136.9 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.006722, allocations: 71.88 kB / 0.8801 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.006786, allocations: 23.94 kB / 0.8801 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.006906, allocations: 29.12 kB / 0.8802 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/0.00699, allocations: 39.89 kB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.007129, allocations: 67.88 kB / 0.8803 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.007559, allocations: 272.2 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.007565, allocations: 4 kB / 0.8805 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007566, allocations: 0 / 0.8805 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.007573, allocations: 3.219 kB / 0.8805 GB, free: 3.5 MB / 0.8386 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.0008176/0.008391, allocations: 0.5264 MB / 0.881 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.008435, allocations: 12.03 kB / 0.8811 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/0.008824, allocations: 68.8 kB / 0.8811 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.0094, allocations: 191.6 kB / 0.8813 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.009429, allocations: 12.38 kB / 0.8813 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.009468, allocations: 13.69 kB / 0.8813 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.009703, allocations: 125.6 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.009715, allocations: 192 / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.00973, allocations: 4.375 kB / 0.8815 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.009744, allocations: 9.688 kB / 0.8815 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.009823, allocations: 27.92 kB / 0.8815 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000963/0.01079, allocations: 0.7853 MB / 0.8823 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.01089, allocations: 63.19 kB / 0.8823 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.01094, allocations: 19.5 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.01095, allocations: 7.938 kB / 0.8823 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.01114, allocations: 102 kB / 0.8824 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.01114, allocations: 3.938 kB / 0.8824 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003189/0.01146, allocations: 117.4 kB / 0.8826 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.01154, allocations: 81.11 kB / 0.8826 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.01179, allocations: 247.6 kB / 0.8829 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.01183, allocations: 33.7 kB / 0.8829 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.01201, allocations: 170.7 kB / 0.8831 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.01202, allocations: 7.953 kB / 0.8831 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.01216, allocations: 75.33 kB / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002803/0.01244, allocations: 0.5001 MB / 0.8836 GB, free: 56 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.01267, allocations: 131.4 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.01304, allocations: 279.6 kB / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.01335, allocations: 204.8 kB / 0.8842 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.01336, allocations: 4 kB / 0.8842 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000647/0.01401, allocations: 364.1 kB / 0.8846 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.689e-05/0.01409, allocations: 67.64 kB / 0.8846 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.0141, allocations: 4 kB / 0.8846 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.01413, allocations: 7.938 kB / 0.8846 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.286e-05/0.01415, allocations: 4 kB / 0.8846 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.01416, allocations: 0 / 0.8846 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.01445, allocations: 47.86 kB / 0.8847 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.01449, allocations: 11.98 kB / 0.8847 GB, free: 14.78 MB / 0.8542 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.0001797/0.01467, allocations: 176.5 kB / 0.8849 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.01471, allocations: 19.94 kB / 0.8849 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.844e-05/0.01475, allocations: 12.34 kB / 0.8849 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.01477, allocations: 3.938 kB / 0.8849 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01477, allocations: 0 / 0.8849 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01478, allocations: 0 / 0.8849 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.01498, allocations: 168.5 kB / 0.8851 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01498, allocations: 384 / 0.8851 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-06/0.01499, allocations: 0 / 0.8851 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01499, allocations: 4 kB / 0.8851 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.015, allocations: 0 / 0.8851 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.015, allocations: 0 / 0.8851 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.01501, allocations: 11.94 kB / 0.8851 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.01522, allocations: 136 kB / 0.8852 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.01524, allocations: 15.89 kB / 0.8852 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.01526, allocations: 7.938 kB / 0.8852 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.01528, allocations: 4.062 kB / 0.8852 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.01533, allocations: 11.92 kB / 0.8853 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.01534, allocations: 0 / 0.8853 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001407/0.01548, allocations: 168 kB / 0.8854 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01548, allocations: 0 / 0.8854 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002831/0.01576, allocations: 35.94 kB / 0.8854 GB, free: 13.95 MB / 0.8542 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.0002071/0.01597, allocations: 107.2 kB / 0.8855 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005077/0.01647, allocations: 329.7 kB / 0.8859 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01648, allocations: 0 / 0.8859 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/0.01653, allocations: 27.67 kB / 0.8859 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.01681, allocations: 28.06 kB / 0.8859 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.01735, allocations: 258.9 kB / 0.8862 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.01747, allocations: 101.8 kB / 0.8863 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.742e-05/0.01751, allocations: 8.969 kB / 0.8863 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.01755, allocations: 16.5 kB / 0.8863 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/0.01755, allocations: 0 / 0.8863 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.006866/0.02442, allocations: 2.072 MB / 0.8883 GB, free: 10.96 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 240] 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: 8.491921319044195]