Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001257/0.001256, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 199 kB / 16.79 MB, free: 6.809 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437 MB / 0.7106 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 0.8692 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6306/0.6321, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001939/0.634, allocations: 0.7071 MB / 1.018 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000873/0.6349, allocations: 0.7962 MB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.635, allocations: 0 / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.545e-05/0.6351, allocations: 0 / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.701e-05/0.6352, allocations: 3.938 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.6353, allocations: 4 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.6353, allocations: 19.98 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.6354, allocations: 11.94 kB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.695e-05/0.6355, allocations: 11.92 kB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.6355, allocations: 11.98 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.6356, allocations: 7.938 kB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.6356, allocations: 0 / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.6356, allocations: 4 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.6357, allocations: 15.91 kB / 1.019 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.827e-05/0.6358, allocations: 23.97 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6358, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6358, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.6358, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 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.0004456/0.6362, allocations: 345.5 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.6363, allocations: 8.031 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.6363, allocations: 4.844 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.6365, allocations: 176.3 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.6365, allocations: 4.375 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.6365, allocations: 4.312 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.6367, allocations: 66.17 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6367, allocations: 192 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.6367, allocations: 3.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.6367, allocations: 7.938 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.6369, allocations: 39.94 kB / 1.02 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.6373, allocations: 272.8 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.6374, allocations: 42.48 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.6375, allocations: 20.91 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.6375, allocations: 0 / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.6376, allocations: 30.56 kB / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.6376, allocations: 0 / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003055/0.6379, allocations: 77.64 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.6379, allocations: 51.41 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.638, allocations: 105.8 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.638, allocations: 25.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.6381, allocations: 88.12 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.6381, allocations: 7.906 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.6381, allocations: 9.719 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6382, allocations: 318.9 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.6383, allocations: 19.98 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.6384, allocations: 15.97 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.6385, allocations: 32.83 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6385, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001722/0.6387, allocations: 65.72 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.6387, allocations: 8 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6387, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6387, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.6388, allocations: 11.92 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.6388, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.6389, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.6389, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 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.906e-05/0.639, allocations: 126.3 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.639, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.639, allocations: 3.125 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.639, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.639, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6391, allocations: 4 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.6392, allocations: 161.6 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6392, allocations: 3.938 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.6393, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6393, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.6393, allocations: 8.188 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.6393, allocations: 4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6393, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.6395, allocations: 167.3 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.6396, allocations: 77.11 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.6396, allocations: 12.02 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.6397, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.6397, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.6397, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.6398, allocations: 83.27 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6398, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002138/0.64, allocations: 7.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 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.000107/0.6401, allocations: 99.25 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.6403, allocations: 35.95 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6403, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.6404, allocations: 19.98 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.6407, allocations: 5.5 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.641, allocations: 149.1 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.6413, allocations: 0.6847 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.6413, allocations: 7.438 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.6413, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Templates: time 0.001745/0.6431, allocations: 0.5674 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches