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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001497/0.001497, allocations: 119.7 kB / 16.42 MB, free: 6.496 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.001605/0.001605, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.441/1.441, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9546/0.956, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00198/0.958, allocations: 0.6487 MB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.959, allocations: 0.7961 MB / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.9591, allocations: 0 / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.9593, allocations: 3.938 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.457e-05/0.9593, allocations: 0 / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.9594, allocations: 11.98 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.9595, allocations: 27.92 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.9597, allocations: 8 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.9597, allocations: 19.91 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.9598, allocations: 8 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.9598, allocations: 0 / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.9598, allocations: 4 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.9599, allocations: 11.92 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.9599, allocations: 11.94 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.364e-05/0.96, allocations: 27.89 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.96, allocations: 0 / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.873e-06/0.96, allocations: 7.938 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.9601, allocations: 0 / 1.169 GB, free: 2.266 MB / 0.8887 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.0004601/0.9605, allocations: 343 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.9606, allocations: 8.922 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.9606, allocations: 0.9375 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.9608, allocations: 176.3 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.9608, allocations: 384 / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.9608, allocations: 4.375 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.961, allocations: 60.67 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.961, allocations: 4.188 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.9611, allocations: 3.938 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.9611, allocations: 0 / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.9612, allocations: 39.89 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.9617, allocations: 280.9 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.9618, allocations: 30.56 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.9619, allocations: 24.89 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.9619, allocations: 0 / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.962, allocations: 34.5 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.552e-06/0.962, allocations: 0 / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0003483/0.9623, allocations: 77.64 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.9624, allocations: 55.41 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.9625, allocations: 105.8 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.9625, allocations: 25.7 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.9626, allocations: 98.08 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.9626, allocations: 0 / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.9627, allocations: 17.84 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.9628, allocations: 314.8 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.9629, allocations: 11.98 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.963, allocations: 19.97 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.9631, allocations: 40.7 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.9632, allocations: 4.062 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001877/0.9633, allocations: 65.56 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.9634, allocations: 6.344 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9634, allocations: 0 / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.9634, allocations: 4 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.9635, allocations: 4 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.9635, allocations: 3.984 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.9636, allocations: 8.031 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.9636, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 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.649e-05/0.9637, allocations: 117.8 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.9637, allocations: 3.984 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.9637, allocations: 3.125 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.9637, allocations: 0 / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.9637, allocations: 0 / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.9638, allocations: 81.09 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.9638, allocations: 4 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.9639, allocations: 15.92 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.964, allocations: 3.938 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002419/0.9642, allocations: 136.9 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002697/0.9645, allocations: 238.8 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.626e-05/0.9646, allocations: 15.92 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.9646, allocations: 87.27 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of Backend: time 8.12e-07/0.9646, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.9651, allocations: 94.39 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006693/0.9657, allocations: 0.5648 MB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.002951/0.9687, allocations: 0.4989 MB / 1.172 GB, free: 14.26 MB / 0.9044 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