Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 113.1 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.00177/0.00177, allocations: 183 kB / 17.34 MB, free: 5.762 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.375/1.375, 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.289/2.289, allocations: 390.2 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8454/0.847, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001728/0.8487, allocations: 0.6245 MB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.85, allocations: 1.11 MB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.85, allocations: 7.938 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.275e-05/0.8501, allocations: 4.688 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.419e-05/0.8502, allocations: 5.766 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.8506, allocations: 116.6 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.8508, allocations: 103.1 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.157e-05/0.8509, allocations: 4.281 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.8509, allocations: 30.73 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.8511, allocations: 35.92 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.8511, allocations: 8.062 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-05/0.8512, allocations: 21.91 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.248e-05/0.8512, allocations: 14.08 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.8513, allocations: 27.77 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.8515, allocations: 94.36 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8515, allocations: 4 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8515, allocations: 0 / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8515, allocations: 1.5 kB / 1.091 GB, free: 4.137 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003725/0.8519, allocations: 377.2 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.8519, allocations: 13.84 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.852, allocations: 5.219 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.8521, allocations: 180.6 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.8521, allocations: 6.625 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.8522, allocations: 5.719 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.745e-05/0.8523, allocations: 51.39 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.8523, allocations: 2.016 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.8523, allocations: 3.938 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8523, allocations: 1.031 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.205e-05/0.8524, allocations: 16.27 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.8527, allocations: 308 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.814e-05/0.8527, allocations: 18.84 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.8527, allocations: 11.08 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.8527, allocations: 4.812 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.8529, allocations: 64.73 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8529, allocations: 0 / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001678/0.8531, allocations: 64.53 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.8531, allocations: 53.33 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.466e-05/0.8532, allocations: 108.7 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.8532, allocations: 32.88 kB / 1.092 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.8532, allocations: 84.55 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.8532, allocations: 13.33 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.8533, allocations: 31.05 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.65e-05/0.8534, allocations: 318.1 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.8534, allocations: 30.78 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.8535, allocations: 48.62 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.746e-05/0.8536, allocations: 84.12 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8536, allocations: 0 / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002255/0.8538, allocations: 139.2 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.8539, allocations: 38.75 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8539, allocations: 1.031 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.8539, allocations: 1.125 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-05/0.8539, allocations: 5.953 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.8539, allocations: 5.438 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.8541, allocations: 27.97 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.8542, allocations: 6.344 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.431e-05/0.8542, allocations: 128.3 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.8543, allocations: 2.359 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.8543, allocations: 5.578 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8543, allocations: 1.219 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.8543, allocations: 4 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8543, allocations: 1.484 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.8544, allocations: 166.9 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8544, allocations: 1.062 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-06/0.8544, allocations: 1.391 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8544, allocations: 8.688 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.8544, allocations: 1.516 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.8544, allocations: 0.8438 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8544, allocations: 0 / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.826e-05/0.8545, allocations: 88.25 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.8546, allocations: 82.25 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.8546, allocations: 1.469 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.8546, allocations: 1.391 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.8546, allocations: 3.094 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.8546, allocations: 1.438 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.625e-05/0.8547, allocations: 85.78 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8547, allocations: 0 / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002132/0.8549, allocations: 16.11 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001318/0.855, allocations: 109.1 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.8552, allocations: 127.4 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8552, allocations: 0 / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.8553, allocations: 14.28 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.8555, allocations: 7.781 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.8558, allocations: 166.6 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.8559, allocations: 0.6807 MB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.8559, allocations: 9.062 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8559, allocations: 0 / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of Templates: time 0.002849/0.8588, allocations: 0.9229 MB / 1.095 GB, free: 412 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches