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.001657/0.001658, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.548/2.548, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 70.94 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3711, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002554/0.3737, allocations: 0.7157 MB / 1.089 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.376, allocations: 1.243 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.3761, allocations: 3.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.3762, allocations: 11.86 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/0.3763, allocations: 19.86 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000946/0.3773, allocations: 242.5 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.3777, allocations: 255.6 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.3779, allocations: 39.92 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.378, allocations: 103.8 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.3782, allocations: 79.77 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.3783, allocations: 20 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3784, allocations: 47.97 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.3785, allocations: 31.91 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.3786, allocations: 87.64 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.379, allocations: 243.1 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.379, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3791, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3791, allocations: 0 / 1.091 GB, free: 14.32 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.0008388/0.3799, allocations: 0.4982 MB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.38, allocations: 12.03 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.3801, allocations: 16.84 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.3807, allocations: 261.9 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3808, allocations: 16.36 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.3808, allocations: 16.38 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.3811, allocations: 123.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.3811, allocations: 7.938 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.3811, allocations: 7.938 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3811, allocations: 3.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3812, allocations: 51.97 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.382, allocations: 0.665 MB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.382, allocations: 49.2 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.3821, allocations: 17.72 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.3821, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.3823, allocations: 89.03 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3823, allocations: 7.938 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002512/0.3826, allocations: 101.9 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3826, allocations: 81.11 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3828, allocations: 170.8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.3829, allocations: 29.7 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.383, allocations: 127.8 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.383, allocations: 11.91 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3831, allocations: 61.67 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3833, allocations: 330.8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.3834, allocations: 51.97 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.3836, allocations: 116.5 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.3838, allocations: 182.1 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3838, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004265/0.3842, allocations: 268.7 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.3843, allocations: 67.39 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3843, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3843, allocations: 4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.399e-05/0.3844, allocations: 4 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3844, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.3848, allocations: 84.06 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.3848, allocations: 11.98 kB / 1.094 GB, free: 10.45 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.0001369/0.385, allocations: 137.8 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.385, allocations: 23.84 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.3851, allocations: 8.234 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3851, allocations: 4 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3851, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3851, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.3853, allocations: 213.6 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3853, allocations: 3.938 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-06/0.3853, allocations: 3.938 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3853, allocations: 0 / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.3853, allocations: 4 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3853, allocations: 3.984 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3853, allocations: 0 / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.3855, allocations: 117.9 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.3855, allocations: 89 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3856, allocations: 7.984 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.3856, allocations: 0 / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.3856, allocations: 4 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3856, allocations: 96 / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.584e-05/0.3857, allocations: 135.5 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3857, allocations: 0 / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002632/0.386, allocations: 43.89 kB / 1.095 GB, free: 9.562 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.0001721/0.3862, allocations: 111.2 kB / 1.095 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.3866, allocations: 234.6 kB / 1.095 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3866, allocations: 0 / 1.095 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.3866, allocations: 23.98 kB / 1.095 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3869, allocations: 21.98 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.3873, allocations: 259.3 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3877, allocations: 0.708 MB / 1.096 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.3877, allocations: 12.88 kB / 1.096 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.3877, allocations: 15.44 kB / 1.096 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.3877, allocations: 0 / 1.096 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of Templates: time 0.005043/0.3928, allocations: 2 MB / 1.098 GB, free: 6.121 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