Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006483/0.006483, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.001276/0.001277, allocations: 190 kB / 16.67 MB, free: 5.883 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.606/2.606, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 62.08 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3422, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002366/0.3447, allocations: 0.6564 MB / 1.089 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.346, allocations: 0.8315 MB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.623e-05/0.3462, allocations: 0 / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.3464, allocations: 0 / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.3464, allocations: 15.98 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.3467, allocations: 23.86 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.869e-05/0.3468, allocations: 31.86 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3469, allocations: 8 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.347, allocations: 15.92 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.3471, allocations: 23.91 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3471, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.3472, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.3472, allocations: 11.98 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.3473, allocations: 23.88 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.3474, allocations: 39.8 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3474, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3474, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.3475, allocations: 0 / 1.09 GB, free: 15.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005845/0.348, allocations: 343.5 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.3481, allocations: 12.03 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.3482, allocations: 0.9375 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.3484, allocations: 180.2 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.3484, allocations: 8.375 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.3484, allocations: 4.375 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.3487, allocations: 66.16 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3487, allocations: 192 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.3487, allocations: 7.938 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3487, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.349, allocations: 51.88 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.3496, allocations: 276.8 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3498, allocations: 46.48 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.35, allocations: 20.91 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.35, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.3501, allocations: 42.55 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.3501, allocations: 0 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005286/0.3506, allocations: 93.48 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.3507, allocations: 51.41 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.3508, allocations: 105.8 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3509, allocations: 25.7 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.351, allocations: 84.34 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.351, allocations: 11.89 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.3511, allocations: 13.72 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002153/0.3513, allocations: 326.8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3514, allocations: 11.98 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9e-05/0.3515, allocations: 23.97 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.3517, allocations: 40.89 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3517, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002405/0.352, allocations: 77.53 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.352, allocations: 4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.352, allocations: 4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.352, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3522, allocations: 12.02 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3522, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.3523, allocations: 7.984 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3523, allocations: 0 / 1.091 GB, free: 13.68 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0002005/0.3525, allocations: 119.7 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.3525, allocations: 7.906 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.3526, allocations: 11.11 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3526, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3526, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3526, allocations: 4 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.3528, allocations: 169.6 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3528, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.3529, allocations: 11.98 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3529, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3529, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3529, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3529, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.3532, allocations: 175.6 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.3532, allocations: 77.11 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3532, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.3533, allocations: 7.984 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.3534, allocations: 7.984 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3534, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.3535, allocations: 83.28 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3535, allocations: 4.031 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002325/0.3537, allocations: 4 kB / 1.092 GB, free: 12.91 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001365/0.3538, allocations: 99.25 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.3541, allocations: 47.89 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3541, allocations: 3.938 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3542, allocations: 24.03 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3545, allocations: 15.66 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.3549, allocations: 121.5 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3552, allocations: 0.6807 MB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.432e-05/0.3552, allocations: 3.984 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.3553, allocations: 19.5 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3553, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.003096/0.3584, allocations: 0.6156 MB / 1.094 GB, free: 11.23 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches