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.009638/0.009638, allocations: 102 kB / 15.73 MB, free: 6.477 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.001948/0.001948, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.574/1.574, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.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.754/2.754, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.95 kB / 0.9508 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3715, allocations: 140.4 MB / 1.088 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002011/0.3735, allocations: 0.704 MB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3754, allocations: 1.247 MB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.3756, allocations: 3.938 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.3757, allocations: 11.88 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.3758, allocations: 11.86 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009511/0.3767, allocations: 249.1 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.3771, allocations: 251.6 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3772, allocations: 39.92 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.3774, allocations: 103.8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.3776, allocations: 83.7 kB / 1.091 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.3777, allocations: 20 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3778, allocations: 43.97 kB / 1.091 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.3779, allocations: 31.86 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3781, allocations: 91.62 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004235/0.3785, allocations: 239.2 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3785, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3785, allocations: 4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3785, allocations: 0 / 1.091 GB, free: 14.51 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.0008322/0.3794, allocations: 0.4984 MB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.3794, allocations: 8.031 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3795, allocations: 24.73 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.3802, allocations: 252.2 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.3802, allocations: 20.38 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.3803, allocations: 16.38 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3805, allocations: 121.6 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3806, allocations: 7.875 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.3806, allocations: 8 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3806, allocations: 3.938 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.3807, allocations: 47.97 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009757/0.3817, allocations: 0.6688 MB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.3818, allocations: 45.16 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.3819, allocations: 21.77 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.3819, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.3822, allocations: 93.02 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3822, allocations: 0 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003368/0.3825, allocations: 101.4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.3826, allocations: 89.09 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.3828, allocations: 162.8 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.3829, allocations: 29.7 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.383, allocations: 123.7 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.383, allocations: 23.72 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.3832, allocations: 61.67 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3834, allocations: 318.8 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3835, allocations: 59.95 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.3837, allocations: 112.5 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.384, allocations: 178.2 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.384, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005045/0.3845, allocations: 269 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/0.3846, allocations: 71.64 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3846, allocations: 3.984 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3846, allocations: 4.094 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.593e-05/0.3847, allocations: 7.938 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3847, allocations: 3.984 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.3851, allocations: 78.02 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.3852, allocations: 11.98 kB / 1.094 GB, free: 10.63 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 0.0001524/0.3853, allocations: 144.9 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.3853, allocations: 15.84 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.3854, allocations: 8.25 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3854, allocations: 7.984 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3854, allocations: 0 / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3854, allocations: 0 / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3856, allocations: 201.6 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3856, allocations: 7.938 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-06/0.3856, allocations: 7.938 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3856, allocations: 4 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3856, allocations: 4 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3857, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3857, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3858, allocations: 113.8 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.3859, allocations: 92.86 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3859, allocations: 8 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/0.3859, allocations: 0 / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.386, allocations: 7.984 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.386, allocations: 0 / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001115/0.3861, allocations: 127.6 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3861, allocations: 0 / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002858/0.3864, allocations: 43.92 kB / 1.095 GB, free: 9.754 MB / 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.0001598/0.3866, allocations: 107.2 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.3869, allocations: 238.6 kB / 1.095 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.387, allocations: 0 / 1.095 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.062e-05/0.387, allocations: 23.98 kB / 1.095 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.3873, allocations: 21.64 kB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.3878, allocations: 248.8 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.3881, allocations: 0.7119 MB / 1.096 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.3882, allocations: 12.88 kB / 1.096 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.3882, allocations: 11.44 kB / 1.096 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.3882, allocations: 3.938 kB / 1.096 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of Templates: time 0.006526/0.3947, allocations: 2.006 MB / 1.098 GB, free: 6.316 MB / 0.8575 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/jenkins/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