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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001922/0.001923, allocations: 108 kB / 16.4 MB, free: 6.387 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.001767/0.001767, allocations: 187.7 kB / 17.34 MB, free: 5.84 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.743/2.743, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.91 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002466/1.078, allocations: 0.6467 MB / 1.227 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001195/1.08, allocations: 0.7885 MB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/1.08, allocations: 4 kB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/1.08, allocations: 3.938 kB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.46e-05/1.08, allocations: 7.938 kB / 1.228 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/1.08, allocations: 3.984 kB / 1.228 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.771e-05/1.08, allocations: 27.92 kB / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/1.08, allocations: 8 kB / 1.228 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/1.08, allocations: 11.92 kB / 1.228 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/1.08, allocations: 8 kB / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/1.08, allocations: 4 kB / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/1.08, allocations: 0 / 1.228 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/1.08, allocations: 15.92 kB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/1.081, allocations: 15.92 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/1.081, allocations: 23.89 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.081, allocations: 0 / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/1.081, allocations: 0 / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.081, allocations: 0 / 1.228 GB, free: 11.92 MB / 0.9512 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.0005118/1.081, allocations: 355.9 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.081, allocations: 12.03 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/1.081, allocations: 0.9375 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/1.081, allocations: 168.4 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/1.081, allocations: 384 / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/1.081, allocations: 384 / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/1.082, allocations: 62.17 kB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/1.082, allocations: 192 / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/1.082, allocations: 3.938 kB / 1.228 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.082, allocations: 4 kB / 1.228 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/1.082, allocations: 39.95 kB / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/1.082, allocations: 276.9 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/1.082, allocations: 34.5 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/1.083, allocations: 24.89 kB / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/1.083, allocations: 0 / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/1.083, allocations: 34.56 kB / 1.229 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 2.455e-06/1.083, allocations: 7.922 kB / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0003408/1.083, allocations: 81.7 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/1.083, allocations: 55.41 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/1.083, allocations: 97.86 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/1.083, allocations: 25.7 kB / 1.229 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/1.083, allocations: 99.95 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/1.083, allocations: 0 / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/1.083, allocations: 13.72 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.083, allocations: 314.8 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.385e-05/1.083, allocations: 15.98 kB / 1.23 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/1.084, allocations: 19.97 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/1.084, allocations: 32.77 kB / 1.23 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.084, allocations: 4 kB / 1.23 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001768/1.084, allocations: 73.61 kB / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/1.084, allocations: 5.719 kB / 1.23 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.084, allocations: 0 / 1.23 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.084, allocations: 0 / 1.23 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/1.084, allocations: 4 kB / 1.23 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.984e-06/1.084, allocations: 4.234 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/1.084, allocations: 4 kB / 1.23 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/1.084, allocations: 8 kB / 1.23 GB, free: 9.859 MB / 0.9512 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 8.335e-05/1.084, allocations: 118.3 kB / 1.23 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/1.084, allocations: 3.984 kB / 1.23 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/1.084, allocations: 7.125 kB / 1.23 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.084, allocations: 0 / 1.23 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.084, allocations: 0 / 1.23 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/1.084, allocations: 77.11 kB / 1.23 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/1.084, allocations: 0 / 1.23 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/1.084, allocations: 7.984 kB / 1.23 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/1.084, allocations: 7.938 kB / 1.23 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002318/1.085, allocations: 148.9 kB / 1.23 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002407/1.085, allocations: 226.8 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.624e-05/1.085, allocations: 24.05 kB / 1.23 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.979e-05/1.085, allocations: 83.27 kB / 1.23 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of Backend: time 1.953e-06/1.085, allocations: 0 / 1.23 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004045/1.085, allocations: 94.33 kB / 1.23 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006828/1.086, allocations: 0.5686 MB / 1.231 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of Templates: time 0.003179/1.089, allocations: 0.5067 MB / 1.231 GB, free: 7.895 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches