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.001396/0.001396, allocations: 88.72 kB / 19.44 MB, free: 328 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.001629/0.001629, allocations: 161.7 kB / 22.76 MB, free: 1.652 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.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.25 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.275/3.275, allocations: 429.6 MB / 0.673 GB, free: 3.891 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 3.166e-06/3.166e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.627e-05/3.944e-05, allocations: 5.406 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002165/0.002205, allocations: 0.7173 MB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.004525, allocations: 1.264 MB / 0.8795 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.0046, allocations: 5.359 kB / 0.8795 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.004743, allocations: 12.44 kB / 0.8795 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.738e-05/0.00482, allocations: 21.69 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009116/0.005732, allocations: 239.3 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.006129, allocations: 240.9 kB / 0.88 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.006267, allocations: 27.97 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.006532, allocations: 139.8 kB / 0.8802 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.006725, allocations: 68.67 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.006784, allocations: 20 kB / 0.8803 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.006898, allocations: 36.64 kB / 0.8803 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.006971, allocations: 31.91 kB / 0.8803 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.007099, allocations: 79.5 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.00752, allocations: 271.1 kB / 0.8807 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.007525, allocations: 0 / 0.8807 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.007526, allocations: 0 / 0.8807 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.007535, allocations: 3.984 kB / 0.8807 GB, free: 3.344 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.0007685/0.008303, allocations: 429.1 kB / 0.8811 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.008342, allocations: 8.031 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000438/0.00878, allocations: 68.8 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.009399, allocations: 200.3 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.009422, allocations: 4.375 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.009468, allocations: 20.38 kB / 0.8814 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.00973, allocations: 131.6 kB / 0.8815 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.009744, allocations: 4.188 kB / 0.8815 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.009758, allocations: 1.312 kB / 0.8815 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.00977, allocations: 8.125 kB / 0.8815 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.009876, allocations: 53.03 kB / 0.8816 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.01067, allocations: 0.5672 MB / 0.8821 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.01077, allocations: 50.23 kB / 0.8822 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.0108, allocations: 13.78 kB / 0.8822 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.01081, allocations: 4 kB / 0.8822 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.01104, allocations: 86.09 kB / 0.8823 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.01104, allocations: 1.062 kB / 0.8823 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003134/0.01136, allocations: 117.4 kB / 0.8824 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.01144, allocations: 81.11 kB / 0.8824 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.01166, allocations: 175 kB / 0.8826 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.0117, allocations: 33.7 kB / 0.8826 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.01183, allocations: 120 kB / 0.8828 GB, free: 1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.01184, allocations: 11.95 kB / 0.8828 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.01196, allocations: 57.67 kB / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.01217, allocations: 326.8 kB / 0.8831 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.01236, allocations: 117.6 kB / 0.8832 GB, free: 484 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.01265, allocations: 238.2 kB / 0.8835 GB, free: 192 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.01295, allocations: 183.2 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01295, allocations: 1.656 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006044/0.01355, allocations: 336.7 kB / 0.884 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.01362, allocations: 60.69 kB / 0.884 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.01363, allocations: 4 kB / 0.884 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.01365, allocations: 11.86 kB / 0.884 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.348e-05/0.01368, allocations: 5.594 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.01369, allocations: 4 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.01404, allocations: 64.11 kB / 0.8841 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.01408, allocations: 11.98 kB / 0.8841 GB, free: 15.45 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.0001599/0.01424, allocations: 145.7 kB / 0.8843 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.01426, allocations: 11.95 kB / 0.8843 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.0143, allocations: 8.344 kB / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.01431, allocations: 11.94 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01432, allocations: 0 / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.01432, allocations: 3.984 kB / 0.8843 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.01449, allocations: 141.3 kB / 0.8844 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01449, allocations: 4 kB / 0.8844 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.0145, allocations: 4 kB / 0.8844 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.01451, allocations: 0 / 0.8844 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01452, allocations: 3.984 kB / 0.8844 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.01452, allocations: 4 kB / 0.8845 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01453, allocations: 3.938 kB / 0.8845 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.01471, allocations: 113.9 kB / 0.8846 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.01473, allocations: 15.91 kB / 0.8846 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01475, allocations: 0 / 0.8846 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.363e-05/0.01477, allocations: 4 kB / 0.8846 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.01481, allocations: 7.922 kB / 0.8846 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.01482, allocations: 8 kB / 0.8846 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001181/0.01493, allocations: 123.4 kB / 0.8847 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01493, allocations: 0 / 0.8847 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000277/0.01521, allocations: 35.94 kB / 0.8847 GB, free: 14.74 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.0001937/0.0154, allocations: 103.2 kB / 0.8848 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.01584, allocations: 270 kB / 0.8851 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01584, allocations: 0.5 kB / 0.8851 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/0.01589, allocations: 23.98 kB / 0.8851 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.01614, allocations: 19.98 kB / 0.8851 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/0.01669, allocations: 257.9 kB / 0.8854 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.01682, allocations: 97.77 kB / 0.8855 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.01686, allocations: 9.172 kB / 0.8855 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.0169, allocations: 20.5 kB / 0.8855 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/0.0169, allocations: 0 / 0.8855 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of Templates: time 0.006152/0.02305, allocations: 2.078 MB / 0.8875 GB, free: 11.83 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=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: 8.521776262903586]