Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008479/0.008479, allocations: 103.5 kB / 15.74 MB, free: 5.992 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.001486/0.001487, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.08 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.063, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001952/1.065, allocations: 0.6556 MB / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001002/1.066, allocations: 0.8351 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/1.066, allocations: 7.938 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/1.067, allocations: 0 / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.463e-05/1.067, allocations: 3.938 kB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/1.067, allocations: 23.91 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.228e-05/1.067, allocations: 27.98 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/1.067, allocations: 12 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/1.067, allocations: 19.92 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/1.067, allocations: 23.84 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/1.067, allocations: 4 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/1.067, allocations: 4 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/1.067, allocations: 7.984 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/1.067, allocations: 11.94 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/1.067, allocations: 39.81 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.067, allocations: 0 / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/1.067, allocations: 0 / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.658e-06/1.067, allocations: 4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005007/1.068, allocations: 351 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/1.068, allocations: 8.031 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/1.068, allocations: 0.9375 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/1.068, allocations: 180.2 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/1.068, allocations: 4.375 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/1.068, allocations: 4.375 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/1.068, allocations: 74.16 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/1.068, allocations: 192 / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/1.069, allocations: 3.938 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.069, allocations: 0 / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/1.069, allocations: 43.95 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/1.069, allocations: 274.9 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/1.069, allocations: 46.5 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.174e-05/1.069, allocations: 24.89 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/1.069, allocations: 0 / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/1.069, allocations: 34.56 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/1.069, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000389/1.07, allocations: 89.55 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.07, allocations: 59.34 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/1.07, allocations: 105.8 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/1.07, allocations: 25.7 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/1.07, allocations: 91.98 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/1.07, allocations: 0 / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/1.07, allocations: 21.7 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.07, allocations: 318.9 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/1.07, allocations: 19.98 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/1.07, allocations: 19.97 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/1.071, allocations: 40.81 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.071, allocations: 0 / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001946/1.071, allocations: 77.66 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.071, allocations: 4 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.071, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.071, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/1.071, allocations: 11.98 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/1.071, allocations: 0 / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/1.071, allocations: 16.09 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/1.071, allocations: 4 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001473/1.071, allocations: 121.8 kB / 1.211 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/1.071, allocations: 0 / 1.211 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/1.071, allocations: 7.125 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.071, allocations: 0 / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.071, allocations: 4 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/1.071, allocations: 0 / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/1.071, allocations: 165.6 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.071, allocations: 0 / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/1.072, allocations: 15.92 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.072, allocations: 3.984 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1.072, allocations: 4 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.072, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.072, allocations: 0 / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/1.072, allocations: 171.3 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/1.072, allocations: 85.12 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/1.072, allocations: 4 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/1.072, allocations: 8 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/1.072, allocations: 3.984 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/1.072, allocations: 0 / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.706e-05/1.072, allocations: 83.28 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.072, allocations: 4 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002139/1.072, allocations: 7.906 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001376/1.072, allocations: 103.2 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002241/1.073, allocations: 43.89 kB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.073, allocations: 0 / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.394e-05/1.073, allocations: 27.92 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/1.073, allocations: 0 / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/1.073, allocations: 144.1 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/1.074, allocations: 0.6807 MB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.796e-05/1.074, allocations: 4 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/1.074, allocations: 7.438 kB / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/1.074, allocations: 0 / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.002912/1.077, allocations: 0.6112 MB / 1.213 GB, free: 7.375 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches