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.006179/0.006179, allocations: 100.9 kB / 15.73 MB, free: 6.047 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.001135/0.001135, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.652/2.652, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.58 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3682, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002305/0.3706, allocations: 0.6649 MB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3717, allocations: 0.8277 MB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.3718, allocations: 4 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.3719, allocations: 3.938 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.418e-05/0.3719, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.3721, allocations: 27.89 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.3722, allocations: 32 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3724, allocations: 12 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/0.3725, allocations: 23.86 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.3725, allocations: 19.83 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3726, allocations: 4 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.3726, allocations: 0 / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.3726, allocations: 11.98 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.3727, allocations: 15.88 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.3728, allocations: 43.8 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3728, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3728, allocations: 4 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3728, allocations: 0 / 1.09 GB, free: 15.84 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.0005506/0.3734, allocations: 343.5 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3734, allocations: 8.031 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.3735, allocations: 0.9375 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.3737, allocations: 184.2 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.3737, allocations: 4.375 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.3737, allocations: 384 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3739, allocations: 70.22 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.374, allocations: 192 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.374, allocations: 3.938 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.374, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3742, allocations: 43.95 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.3746, allocations: 276.8 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.3748, allocations: 46.55 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.606e-05/0.3749, allocations: 24.84 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3749, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3749, allocations: 38.55 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3749, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004492/0.3754, allocations: 93.48 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.3755, allocations: 51.41 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3756, allocations: 105.8 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.3756, allocations: 25.7 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.3757, allocations: 88.14 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.3757, allocations: 3.906 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.3758, allocations: 21.84 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.376, allocations: 318.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.3761, allocations: 15.98 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.3762, allocations: 19.97 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3763, allocations: 40.83 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3763, allocations: 4.062 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.3765, allocations: 69.59 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3766, allocations: 8 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3766, allocations: 3.938 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3766, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3767, allocations: 11.98 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3768, allocations: 0 / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.3768, allocations: 12.02 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3768, allocations: 0 / 1.091 GB, free: 13.71 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.0001817/0.377, allocations: 117.8 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.3771, allocations: 3.906 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.3771, allocations: 7.109 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3771, allocations: 3.938 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3771, allocations: 256 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.3771, allocations: 4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.3773, allocations: 177.7 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3773, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.3774, allocations: 7.984 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3774, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3774, allocations: 7.938 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3774, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3774, allocations: 3.984 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.3777, allocations: 167.5 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.3777, allocations: 77.11 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.3777, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.3778, allocations: 7.984 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.3779, allocations: 7.984 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3779, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.3779, allocations: 79.28 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3779, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002156/0.3782, allocations: 8 kB / 1.092 GB, free: 12.94 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.0001413/0.3783, allocations: 103.3 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.3785, allocations: 47.83 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3785, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.3786, allocations: 27.97 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.3789, allocations: 11.48 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.3793, allocations: 131.4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.3795, allocations: 0.6807 MB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.3796, allocations: 7.984 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.3796, allocations: 7.438 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3796, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of Templates: time 0.002975/0.3826, allocations: 0.6226 MB / 1.094 GB, free: 11.25 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