Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.009675/0.009675, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00235/0.00235, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.334/2.334, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.097, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002241/1.099, allocations: 0.6707 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001111/1.1, allocations: 0.8271 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/1.1, allocations: 0 / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/1.101, allocations: 5.594 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.347e-05/1.101, allocations: 8.438 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/1.101, allocations: 25.36 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.279e-05/1.101, allocations: 29.81 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/1.101, allocations: 13.98 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/1.101, allocations: 10.88 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/1.101, allocations: 21.67 kB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/1.101, allocations: 2.406 kB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/1.101, allocations: 3.844 kB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/1.101, allocations: 12.95 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/1.101, allocations: 14.09 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/1.101, allocations: 41.84 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.101, allocations: 1.031 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/1.101, allocations: 0 / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.55e-06/1.101, allocations: 4 kB / 1.09 GB, free: 4.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004707/1.102, allocations: 352.5 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.102, allocations: 9.938 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/1.102, allocations: 4.266 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/1.102, allocations: 178.5 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/1.102, allocations: 1.5 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/1.102, allocations: 7.094 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/1.102, allocations: 67.44 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.102, allocations: 192 / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/1.102, allocations: 7.922 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.103, allocations: 1.547 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/1.103, allocations: 43.72 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/1.103, allocations: 277.3 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/1.103, allocations: 43.8 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.103, allocations: 25.66 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/1.103, allocations: 0 / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/1.103, allocations: 32.53 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/1.103, allocations: 0 / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004588/1.104, allocations: 92 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/1.104, allocations: 56.83 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/1.104, allocations: 103.7 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.104, allocations: 25.7 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/1.104, allocations: 87.73 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/1.104, allocations: 5.672 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/1.104, allocations: 22.58 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.517e-05/1.104, allocations: 321.1 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/1.104, allocations: 23.09 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.375e-05/1.105, allocations: 19.75 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/1.105, allocations: 44.55 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.105, allocations: 64 / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002408/1.105, allocations: 71.06 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/1.105, allocations: 5.797 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.105, allocations: 0 / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.105, allocations: 1.344 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/1.105, allocations: 9.156 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.105, allocations: 1.062 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.814e-05/1.105, allocations: 14.31 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/1.105, allocations: 4.688 kB / 1.091 GB, free: 2.582 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: 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.0001872/1.105, allocations: 114.3 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/1.106, allocations: 1.094 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/1.106, allocations: 9.312 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.106, allocations: 1.469 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.106, allocations: 0 / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.106, allocations: 0.75 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/1.106, allocations: 169 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.106, allocations: 4.812 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/1.106, allocations: 13.77 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.106, allocations: 0.7969 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/1.106, allocations: 1.281 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.106, allocations: 0 / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.106, allocations: 2.109 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/1.106, allocations: 172.3 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/1.106, allocations: 78.7 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/1.106, allocations: 1.766 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/1.106, allocations: 10.14 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/1.107, allocations: 4.734 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/1.107, allocations: 1.797 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.556e-05/1.107, allocations: 84.91 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.107, allocations: 0 / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002393/1.107, allocations: 8.688 kB / 1.092 GB, free: 1.922 MB / 0.8575 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.0001482/1.107, allocations: 106.8 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002665/1.107, allocations: 43.05 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.107, allocations: 3.938 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/1.107, allocations: 23.69 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/1.108, allocations: 11.86 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/1.108, allocations: 113.2 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/1.108, allocations: 0.6798 MB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.131e-05/1.108, allocations: 3.547 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/1.108, allocations: 10.8 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of SimCode: time 6.41e-07/1.108, allocations: 0 / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of Templates: time 0.003582/1.112, allocations: 0.6233 MB / 1.094 GB, free: 0.8984 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches