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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001018, allocations: 184.8 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.018/2.018, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 103.9 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.063e-05, allocations: 13.8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3307, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.335, allocations: 148.2 MB / 1.351 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/1.336, allocations: 71.19 kB / 1.351 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003116/1.339, allocations: 0.8169 MB / 1.352 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.854e-06/1.339, allocations: 0 / 1.352 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.708e-06/1.339, allocations: 3.812 kB / 1.352 GB, free: 33.95 MB / 0.8386 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.0003744/1.339, allocations: 348 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.339, allocations: 8.328 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/1.339, allocations: 8.344 kB / 1.352 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/1.34, allocations: 179.5 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/1.34, allocations: 0 / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/1.34, allocations: 0.6094 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.707e-05/1.34, allocations: 19.2 kB / 1.352 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.539e-05/1.34, allocations: 46 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.34, allocations: 0 / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/1.34, allocations: 5.375 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.34, allocations: 4 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/1.34, allocations: 258.2 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.751e-05/1.34, allocations: 27.47 kB / 1.352 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/1.34, allocations: 16.31 kB / 1.352 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/1.34, allocations: 4.562 kB / 1.352 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/1.34, allocations: 34.47 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.34, allocations: 0 / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/1.34, allocations: 40.89 kB / 1.353 GB, free: 33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/1.341, allocations: 51.41 kB / 1.353 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/1.341, allocations: 99.05 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/1.341, allocations: 31.3 kB / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/1.341, allocations: 85.89 kB / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/1.341, allocations: 6.156 kB / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-06/1.341, allocations: 0 / 1.353 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.341, allocations: 320.4 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/1.341, allocations: 4.484 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/1.341, allocations: 6.828 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.187e-05/1.341, allocations: 12.12 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.341, allocations: 2.188 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.973e-05/1.341, allocations: 49.28 kB / 1.353 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.341, allocations: 9.906 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.341, allocations: 1.344 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/1.341, allocations: 0.7031 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/1.341, allocations: 14.67 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/1.341, allocations: 0.5156 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/1.341, allocations: 9.109 kB / 1.353 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/1.341, allocations: 0 / 1.353 GB, free: 32.36 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/1.341, allocations: 116 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/1.341, allocations: 2.109 kB / 1.353 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/1.341, allocations: 8.125 kB / 1.353 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.341, allocations: 1.344 kB / 1.353 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.341, allocations: 0 / 1.353 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/1.341, allocations: 0.5625 kB / 1.353 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/1.342, allocations: 146.6 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.342, allocations: 1.312 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.603e-05/1.342, allocations: 11.55 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/1.342, allocations: 5.344 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/1.342, allocations: 0.7031 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/1.342, allocations: 0 / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.342, allocations: 1.281 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/1.342, allocations: 141.4 kB / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/1.342, allocations: 83.02 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/1.342, allocations: 1.984 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/1.342, allocations: 11.95 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/1.342, allocations: 5.219 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/1.342, allocations: 3.625 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.607e-05/1.342, allocations: 88.2 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.342, allocations: 0 / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002234/1.342, allocations: 14.28 kB / 1.354 GB, free: 31.75 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/1.342, allocations: 107.9 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.959e-05/1.343, allocations: 21.22 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.343, allocations: 1.281 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/1.343, allocations: 6.969 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/1.343, allocations: 12.12 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/1.343, allocations: 65.45 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/1.343, allocations: 0.6832 MB / 1.355 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.346e-05/1.343, allocations: 12.12 kB / 1.355 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/1.343, allocations: 13.34 kB / 1.355 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.343, allocations: 0 / 1.355 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.002634/1.346, allocations: 487.6 kB / 1.355 GB, free: 30.82 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches