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.007372/0.007372, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001718/0.001719, allocations: 192 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.824/2.824, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.388, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002244/0.3902, allocations: 0.7101 MB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.3924, allocations: 1.257 MB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.904e-05/0.3925, allocations: 0 / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.3927, allocations: 7.875 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.3928, allocations: 15.86 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.3938, allocations: 243 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.3942, allocations: 255.6 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.3944, allocations: 39.92 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.3945, allocations: 103.8 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.3947, allocations: 83.77 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.3948, allocations: 20 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3949, allocations: 43.97 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.395, allocations: 31.86 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3951, allocations: 91.62 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.3954, allocations: 235.2 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3954, allocations: 0 / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3954, allocations: 0 / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3954, allocations: 0 / 1.17 GB, free: 3.672 MB / 0.92 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.0006676/0.3961, allocations: 0.5021 MB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3962, allocations: 12.03 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/0.3962, allocations: 20.84 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.3968, allocations: 264 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.3969, allocations: 12.38 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.3969, allocations: 20.36 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.3972, allocations: 124.2 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3972, allocations: 7.938 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3972, allocations: 4 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3972, allocations: 4 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.3973, allocations: 47.91 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000822/0.3981, allocations: 0.6689 MB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.383e-05/0.3982, allocations: 41.22 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.3983, allocations: 25.69 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.914e-06/0.3983, allocations: 0 / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.3985, allocations: 100.9 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3985, allocations: 0 / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.000282/0.3988, allocations: 97.56 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.3989, allocations: 85.09 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.399, allocations: 164.4 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.3991, allocations: 41.69 kB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3992, allocations: 124 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.3992, allocations: 7.953 kB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.3994, allocations: 65.62 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3995, allocations: 322.8 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3996, allocations: 51.97 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.3998, allocations: 127.9 kB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.4001, allocations: 178.2 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4001, allocations: 0 / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004405/0.4005, allocations: 268.7 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/0.4006, allocations: 67.39 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4006, allocations: 4 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4006, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.823e-05/0.4007, allocations: 8.188 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.4007, allocations: 8 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.4011, allocations: 75.81 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.4011, allocations: 11.98 kB / 1.173 GB, free: 15.78 MB / 0.9356 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.0001315/0.4013, allocations: 133.8 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.4013, allocations: 27.83 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.4013, allocations: 12.23 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4013, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4013, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4014, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.4016, allocations: 205.6 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4016, allocations: 3.938 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-06/0.4016, allocations: 0 / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4016, allocations: 384 / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4016, allocations: 4 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4016, allocations: 0 / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4016, allocations: 4 kB / 1.173 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.4018, allocations: 117.9 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.4018, allocations: 92.94 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4019, allocations: 4.094 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.248e-05/0.4019, allocations: 7.922 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.4019, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.402, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.932e-05/0.4021, allocations: 121.9 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4021, allocations: 0 / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002721/0.4023, allocations: 47.88 kB / 1.174 GB, free: 14.9 MB / 0.9356 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.0001991/0.4025, allocations: 103.2 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003735/0.4029, allocations: 234.7 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4029, allocations: 0.5 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.403, allocations: 31.92 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.4033, allocations: 27.84 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.4038, allocations: 240 kB / 1.174 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.4042, allocations: 0.7118 MB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.673e-05/0.4042, allocations: 16.88 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.4042, allocations: 19.38 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.4042, allocations: 0 / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of Templates: time 0.005537/0.4098, allocations: 1.994 MB / 1.177 GB, free: 11.47 MB / 0.9356 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