Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001536/0.001537, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001735/0.001735, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.89 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.7706, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001784/0.7725, allocations: 0.7158 MB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.7739, allocations: 1.247 MB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.7739, allocations: 4.906 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.774, allocations: 11.53 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.7741, allocations: 15.72 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.7748, allocations: 240.1 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.7751, allocations: 255 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.7752, allocations: 40.58 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.7754, allocations: 101.2 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.7756, allocations: 80.55 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.7756, allocations: 22.84 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.7758, allocations: 43.95 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.7758, allocations: 38.53 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.7759, allocations: 85.42 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.7763, allocations: 236.7 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7763, allocations: 0 / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7763, allocations: 0.7188 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.7763, allocations: 0 / 1.092 GB, free: 3.645 MB / 0.8575 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.0005275/0.7768, allocations: 0.4978 MB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.7769, allocations: 13.25 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.777, allocations: 21.14 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.7775, allocations: 259 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.7775, allocations: 12.66 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.7776, allocations: 22.11 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.7778, allocations: 132.5 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.7778, allocations: 4.75 kB / 1.093 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.7778, allocations: 1.609 kB / 1.093 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.7779, allocations: 3.062 kB / 1.093 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.678e-05/0.7779, allocations: 49.47 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.7785, allocations: 0.6655 MB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.331e-05/0.7786, allocations: 44.3 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.7786, allocations: 14.56 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.7786, allocations: 1.672 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.7788, allocations: 93.58 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.7788, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002418/0.779, allocations: 107.6 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.7791, allocations: 87.78 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.7792, allocations: 174.5 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.7793, allocations: 29.98 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.7794, allocations: 126.6 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.7794, allocations: 19.48 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.7795, allocations: 62.03 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.7796, allocations: 325.3 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.7797, allocations: 49.41 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.7798, allocations: 118.5 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.78, allocations: 177.8 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.78, allocations: 1.25 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004342/0.7805, allocations: 273.1 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.7805, allocations: 64.52 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.7805, allocations: 1.875 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.7805, allocations: 6.844 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.168e-05/0.7806, allocations: 3.531 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.7806, allocations: 7.094 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.781, allocations: 68.12 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.7811, allocations: 17.28 kB / 1.095 GB, free: 0.7461 MB / 0.8575 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 9.983e-05/0.7812, allocations: 141.8 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.7812, allocations: 12.91 kB / 1.095 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.7812, allocations: 13.34 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7812, allocations: 2.203 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7813, allocations: 0.625 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.7813, allocations: 1.266 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.7814, allocations: 202.9 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7814, allocations: 5.062 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-06/0.7814, allocations: 1.672 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.7814, allocations: 1.094 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.7814, allocations: 5.891 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7814, allocations: 1.656 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7814, allocations: 4.688 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.7816, allocations: 114.5 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.7816, allocations: 96.45 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.7816, allocations: 3.281 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.433e-05/0.7817, allocations: 1.719 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.7817, allocations: 4.641 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.7817, allocations: 7.281 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.439e-05/0.7818, allocations: 120.5 kB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7818, allocations: 96 / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002759/0.7821, allocations: 40.42 kB / 1.096 GB, free: 80 kB / 0.8575 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.0001868/0.7823, allocations: 104.9 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003619/0.7826, allocations: 237.1 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7827, allocations: 0.5 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/0.7827, allocations: 26.3 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.783, allocations: 29.23 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.7835, allocations: 275.9 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.7838, allocations: 0.7115 MB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.7839, allocations: 22.38 kB / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7839, allocations: 0 / 1.097 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of Templates: time 0.004816/0.7887, allocations: 1.987 MB / 1.099 GB, free: 14.66 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches