Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 197.2 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.89 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8149, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002877/0.8178, allocations: 0.7724 MB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.8198, allocations: 1.265 MB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.714e-05/0.82, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.8201, allocations: 15.94 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.8202, allocations: 7.922 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.8211, allocations: 215.4 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.8214, allocations: 215.6 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.8216, allocations: 39.95 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.8218, allocations: 99.75 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.8221, allocations: 91.75 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.8221, allocations: 12 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.746e-05/0.8222, allocations: 27.98 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.8223, allocations: 27.92 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.8224, allocations: 79.75 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.8227, allocations: 217.2 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.8227, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8227, allocations: 3.938 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.8228, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 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.0006406/0.8234, allocations: 498.3 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.8235, allocations: 8.031 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.8235, allocations: 20.75 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006338/0.8242, allocations: 268.1 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.8242, allocations: 12.38 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.8242, allocations: 12.38 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.8245, allocations: 131.3 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.8245, allocations: 3.938 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.8245, allocations: 12 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8245, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.8246, allocations: 51.91 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.8253, allocations: 0.6571 MB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.94e-05/0.8254, allocations: 45.14 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.8255, allocations: 21.77 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.8255, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.8257, allocations: 101 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.8257, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002585/0.826, allocations: 105.4 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.826, allocations: 81.11 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.8262, allocations: 171.6 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.8263, allocations: 33.7 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.8264, allocations: 123.9 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.8264, allocations: 15.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.553e-05/0.8265, allocations: 61.67 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8266, allocations: 314.8 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.8268, allocations: 55.95 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.8269, allocations: 114.3 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.8271, allocations: 170.2 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8271, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004238/0.8276, allocations: 264.7 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/0.8276, allocations: 69.75 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8277, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.8277, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.849e-05/0.8277, allocations: 7.984 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.8277, allocations: 7.875 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.8281, allocations: 60.03 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.8281, allocations: 16 kB / 1.023 GB, free: 11.89 MB / 0.7794 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.0001592/0.8283, allocations: 141 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.8283, allocations: 11.94 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.992e-05/0.8283, allocations: 16.19 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.8284, allocations: 4 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.8284, allocations: 4 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.8284, allocations: 0 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.8286, allocations: 197.6 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8286, allocations: 3.938 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.8286, allocations: 8.312 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8286, allocations: 0 / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.8286, allocations: 3.984 kB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.8286, allocations: 4 kB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8286, allocations: 0 / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.8288, allocations: 117.9 kB / 1.023 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.8289, allocations: 92.86 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.8289, allocations: 4.062 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.565e-05/0.8289, allocations: 4 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.829, allocations: 3.984 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.829, allocations: 8 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001013/0.8291, allocations: 118.5 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.354e-06/0.8291, allocations: 4 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002644/0.8294, allocations: 39.88 kB / 1.024 GB, free: 11.03 MB / 0.7794 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.000182/0.8296, allocations: 111.7 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003617/0.8299, allocations: 234.7 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8299, allocations: 0 / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.83, allocations: 20.44 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.8303, allocations: 27.92 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.8308, allocations: 274 kB / 1.024 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.8312, allocations: 0.7121 MB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.64e-05/0.8312, allocations: 4.891 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.8313, allocations: 19.42 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.8313, allocations: 4 kB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of Templates: time 0.005268/0.8365, allocations: 1.756 MB / 1.027 GB, free: 7.801 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches