Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01032/0.01032, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001613/0.001613, allocations: 195.5 kB / 16.67 MB, free: 5.977 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.478/1.478, allocations: 222.9 MB / 240.3 MB, free: 4.32 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.534/2.534, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.42 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3443, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001732/0.3461, allocations: 0.6345 MB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008447/0.3469, allocations: 0.7965 MB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.347, allocations: 0 / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.818e-05/0.3471, allocations: 4 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 1.972e-05/0.3471, allocations: 7.938 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.3472, allocations: 7.984 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.658e-05/0.3473, allocations: 23.92 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3474, allocations: 8 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.175e-05/0.3475, allocations: 7.938 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.3476, allocations: 16.05 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.3476, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.3476, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.857e-05/0.3477, allocations: 11.98 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.3477, allocations: 15.92 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.136e-05/0.3478, allocations: 27.89 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3478, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3478, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3478, allocations: 0 / 1.089 GB, free: 15.92 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.00048/0.3483, allocations: 347.3 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3484, allocations: 11.97 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.3484, allocations: 0.9375 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3486, allocations: 176.3 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3486, allocations: 4.375 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3486, allocations: 384 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3488, allocations: 62.22 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3488, allocations: 4.125 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3488, allocations: 3.938 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3488, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.349, allocations: 39.95 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.3494, allocations: 276.8 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3495, allocations: 34.56 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.3496, allocations: 24.89 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.3496, allocations: 4 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.3497, allocations: 30.56 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3497, allocations: 0 / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003261/0.35, allocations: 77.59 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3501, allocations: 55.39 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/0.3501, allocations: 101.9 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3502, allocations: 29.83 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.3502, allocations: 91.97 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.3502, allocations: 4 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.3503, allocations: 9.719 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3504, allocations: 318.8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.3505, allocations: 11.98 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.3506, allocations: 23.98 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3507, allocations: 36.75 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3507, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001764/0.3509, allocations: 61.66 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3509, allocations: 8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3509, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.351, allocations: 4.094 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.351, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3511, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.3511, allocations: 7.984 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3511, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 7.341e-05/0.3512, allocations: 117.8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.3512, allocations: 3.906 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.3512, allocations: 7.109 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3513, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.3513, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3513, allocations: 7.938 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.3514, allocations: 161.5 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3514, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.3515, allocations: 11.98 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3515, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3515, allocations: 7.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3515, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3515, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.3518, allocations: 159.5 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.3518, allocations: 77.11 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3518, allocations: 4.25 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.3519, allocations: 7.984 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.352, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.352, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.352, allocations: 91.3 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.352, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000207/0.3522, allocations: 4 kB / 1.092 GB, free: 13.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001152/0.3524, allocations: 95.25 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3526, allocations: 35.91 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3526, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.3527, allocations: 24.03 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.353, allocations: 7.938 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.3532, allocations: 119.8 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3535, allocations: 0.6807 MB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.772e-05/0.3535, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.3536, allocations: 7.438 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3536, allocations: 4.062 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.00237/0.3559, allocations: 435.5 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches