Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_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_9_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.001503/0.001503, allocations: 114.2 kB / 16.42 MB, free: 6.441 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.001649/0.001649, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.489/1.489, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001562, allocations: 67.88 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9835/0.9851, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00201/0.9871, allocations: 0.644 MB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.988, allocations: 0.7918 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.9881, allocations: 1.344 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.9882, allocations: 0.6094 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.676e-05/0.9882, allocations: 4.906 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.9883, allocations: 14.78 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.209e-05/0.9884, allocations: 24.66 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.9886, allocations: 8.328 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.9886, allocations: 5.656 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.9887, allocations: 18.3 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.9887, allocations: 2.219 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.9887, allocations: 2.094 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.9888, allocations: 9.5 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.9888, allocations: 11.44 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.913e-05/0.9889, allocations: 25.92 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9889, allocations: 4.969 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9889, allocations: 3.938 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.989, allocations: 0 / 1.09 GB, free: 4.449 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004355/0.9894, allocations: 353 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.9895, allocations: 9.625 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.9895, allocations: 1.969 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.9896, allocations: 171.3 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.9896, allocations: 1.469 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.9897, allocations: 10.17 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.9899, allocations: 52.45 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9899, allocations: 192 / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.9899, allocations: 5.703 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.9899, allocations: 0 / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.9901, allocations: 35.38 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.9905, allocations: 287.1 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.9907, allocations: 32.89 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.635e-05/0.9907, allocations: 18.95 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.9908, allocations: 0 / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.9908, allocations: 32.39 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9908, allocations: 4 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.000344/0.9911, allocations: 80.28 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.9912, allocations: 52.44 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.9912, allocations: 102.5 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.9913, allocations: 27.14 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.9913, allocations: 92.69 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.9913, allocations: 4.641 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.9913, allocations: 16.61 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.9914, allocations: 312.7 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.9915, allocations: 12.72 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.904e-05/0.9916, allocations: 18.8 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.9917, allocations: 43.52 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9917, allocations: 5.125 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001864/0.9919, allocations: 63.59 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.992, allocations: 5.281 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.992, allocations: 1.266 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.992, allocations: 0 / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.9921, allocations: 15.66 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.9921, allocations: 4.656 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.9921, allocations: 5.641 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.9922, allocations: 0.7812 kB / 1.092 GB, free: 2.719 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: 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 5.612e-05/0.9922, allocations: 114.2 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.9922, allocations: 4.656 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.9923, allocations: 4.953 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9923, allocations: 5.25 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9923, allocations: 0.5625 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.9923, allocations: 77.86 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.9923, allocations: 8.906 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.689e-05/0.9924, allocations: 7.078 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.9924, allocations: 5.734 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000225/0.9927, allocations: 143.2 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000213/0.9929, allocations: 232.3 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.911e-05/0.993, allocations: 18.02 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.673e-05/0.993, allocations: 80.7 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of Backend: time 2.6e-07/0.993, allocations: 0 / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.9934, allocations: 99.66 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003785/0.9938, allocations: 0.5659 MB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of Templates: time 0.002741/0.9966, allocations: 0.4964 MB / 1.094 GB, free: 1.352 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches