Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.288/2.288, allocations: 390.5 MB / 398 MB, free: 10.92 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.001275/0.001275, allocations: 184.8 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.842/1.842, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009976/0.0009975, allocations: 91.88 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.998e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.322, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.981/1.303, allocations: 148.9 MB / 1.358 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/1.303, allocations: 69.08 kB / 1.358 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002171/1.306, allocations: 0.6342 MB / 1.358 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/1.306, allocations: 0 / 1.358 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.017e-05/1.306, allocations: 3.906 kB / 1.358 GB, free: 33.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003196/1.306, allocations: 333.5 kB / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/1.306, allocations: 12.23 kB / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/1.306, allocations: 4.531 kB / 1.359 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/1.306, allocations: 173.8 kB / 1.359 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/1.306, allocations: 0 / 1.359 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/1.306, allocations: 3.938 kB / 1.359 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.388e-05/1.306, allocations: 12.19 kB / 1.359 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.439e-05/1.306, allocations: 46.77 kB / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/1.306, allocations: 0 / 1.359 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/1.306, allocations: 4 kB / 1.359 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.306, allocations: 0.7969 kB / 1.359 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/1.307, allocations: 251.3 kB / 1.359 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/1.307, allocations: 25.77 kB / 1.359 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/1.307, allocations: 17.19 kB / 1.359 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/1.307, allocations: 0 / 1.359 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/1.307, allocations: 31.17 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/1.307, allocations: 0 / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001401/1.307, allocations: 46.19 kB / 1.359 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/1.307, allocations: 51.41 kB / 1.359 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/1.307, allocations: 99.44 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/1.307, allocations: 29.73 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/1.307, allocations: 88.8 kB / 1.36 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/1.307, allocations: 0 / 1.36 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/1.307, allocations: 0 / 1.36 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.307, allocations: 312.2 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/1.307, allocations: 7.5 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/1.307, allocations: 4.531 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.487e-05/1.307, allocations: 0.7031 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.308, allocations: 4.062 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.224e-05/1.308, allocations: 45.52 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.308, allocations: 7.719 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.308, allocations: 0 / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.308, allocations: 0.7031 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/1.308, allocations: 9.797 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/1.308, allocations: 3.594 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/1.308, allocations: 6.156 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/1.308, allocations: 11.86 kB / 1.36 GB, free: 31.66 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: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/1.308, allocations: 106.3 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/1.308, allocations: 0 / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/1.308, allocations: 7.922 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.308, allocations: 0.6094 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.308, allocations: 3.844 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.308, allocations: 0 / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/1.308, allocations: 143.1 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.308, allocations: 0 / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/1.308, allocations: 14.03 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.308, allocations: 0.6562 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/1.308, allocations: 0 / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.308, allocations: 0 / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.308, allocations: 0.7969 kB / 1.36 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.122e-05/1.308, allocations: 140 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/1.308, allocations: 81.89 kB / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/1.308, allocations: 0 / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/1.308, allocations: 6.641 kB / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/1.308, allocations: 7.641 kB / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/1.308, allocations: 0.5625 kB / 1.36 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.492e-05/1.308, allocations: 80.39 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.308, allocations: 0 / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002127/1.309, allocations: 7.875 kB / 1.361 GB, free: 31.07 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: 0 () * Number of discrete 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 (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 8.454e-05/1.309, allocations: 103.9 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.983e-05/1.309, allocations: 10.69 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/1.309, allocations: 0 / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-05/1.309, allocations: 11.28 kB / 1.361 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/1.309, allocations: 5.266 kB / 1.361 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/1.309, allocations: 66.64 kB / 1.361 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/1.31, allocations: 0.6854 MB / 1.361 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.168e-05/1.31, allocations: 5.453 kB / 1.361 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/1.31, allocations: 7.438 kB / 1.361 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.31, allocations: 3.875 kB / 1.361 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of Templates: time 0.002173/1.312, allocations: 321.3 kB / 1.362 GB, free: 30.14 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches