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 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.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.001818/0.001825, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.002113/0.002113, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.456/1.456, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 482.4 MB / 0.755 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 64.22 kB / 0.924 GB, free: 344 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.7564, allocations: 162.2 MB / 1.082 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002001/0.7584, allocations: 0.7276 MB / 1.083 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008713/0.7593, allocations: 0.8312 MB / 1.084 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.7594, allocations: 0.6875 kB / 1.084 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.7595, allocations: 1.656 kB / 1.084 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.104e-05/0.7595, allocations: 8.547 kB / 1.084 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.7597, allocations: 15.59 kB / 1.084 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.185e-05/0.7598, allocations: 29.33 kB / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.7599, allocations: 10.5 kB / 1.084 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.118e-05/0.76, allocations: 18.92 kB / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.76, allocations: 17.44 kB / 1.084 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.7601, allocations: 3.125 kB / 1.084 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.7601, allocations: 2.656 kB / 1.084 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.7601, allocations: 14.7 kB / 1.084 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.7602, allocations: 17.2 kB / 1.084 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.609e-05/0.7603, allocations: 29.8 kB / 1.084 GB, free: 464 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7603, allocations: 1.922 kB / 1.084 GB, free: 464 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7603, allocations: 0 / 1.084 GB, free: 464 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.7603, allocations: 3.938 kB / 1.084 GB, free: 460 kB / 0.8262 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.0004184/0.7607, allocations: 348.1 kB / 1.084 GB, free: 88 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.7608, allocations: 9.594 kB / 1.084 GB, free: 88 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.7608, allocations: 2.938 kB / 1.084 GB, free: 88 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.761, allocations: 183.6 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.761, allocations: 6.656 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.7611, allocations: 2.781 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.7613, allocations: 62.56 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.7613, allocations: 192 / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.7613, allocations: 4.5 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.7613, allocations: 1.953 kB / 1.085 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.7615, allocations: 43.67 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.762, allocations: 277.8 kB / 1.085 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.7621, allocations: 42.98 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.651e-05/0.7622, allocations: 22.22 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.7623, allocations: 4 kB / 1.085 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.7623, allocations: 36.28 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7623, allocations: 0 / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000372/0.7627, allocations: 93.05 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.7627, allocations: 51.41 kB / 1.085 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.33e-05/0.7628, allocations: 108.6 kB / 1.085 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.7629, allocations: 25.7 kB / 1.085 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.7629, allocations: 91.56 kB / 1.085 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.7629, allocations: 5.031 kB / 1.085 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.763, allocations: 15.58 kB / 1.085 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7631, allocations: 317 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-05/0.7632, allocations: 18.7 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.7633, allocations: 24.06 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.7635, allocations: 44.02 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7635, allocations: 0 / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002191/0.7637, allocations: 70.84 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.7638, allocations: 6 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7638, allocations: 4.891 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.7638, allocations: 0 / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.7639, allocations: 10.53 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7639, allocations: 0 / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.764, allocations: 10.02 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.764, allocations: 2.062 kB / 1.086 GB, free: 14.7 MB / 0.8419 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.0001372/0.7641, allocations: 113.8 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.7641, allocations: 1.953 kB / 1.086 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.7642, allocations: 13.02 kB / 1.086 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.7642, allocations: 0 / 1.086 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7642, allocations: 5.312 kB / 1.086 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7642, allocations: 0.9531 kB / 1.086 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.7644, allocations: 173.2 kB / 1.086 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.7644, allocations: 8.641 kB / 1.086 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.7645, allocations: 17.89 kB / 1.086 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.7645, allocations: 0 / 1.086 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.7645, allocations: 2.641 kB / 1.086 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7645, allocations: 0 / 1.086 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7645, allocations: 4 kB / 1.086 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.7648, allocations: 165.4 kB / 1.086 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.7648, allocations: 83.02 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.7649, allocations: 1.578 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.765, allocations: 6.406 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.765, allocations: 8.938 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.765, allocations: 1.344 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.393e-05/0.7651, allocations: 84.47 kB / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7651, allocations: 0 / 1.087 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002227/0.7653, allocations: 9.531 kB / 1.087 GB, free: 14.03 MB / 0.8419 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.0001388/0.7655, allocations: 98.53 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.7657, allocations: 54.28 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7657, allocations: 1.062 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/0.7658, allocations: 17.56 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.7661, allocations: 8.016 kB / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.7664, allocations: 154.5 kB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.7668, allocations: 0.6841 MB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.7668, allocations: 10.7 kB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.7668, allocations: 0 / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of Templates: time 0.002286/0.7691, allocations: 0.6772 MB / 1.088 GB, free: 13.01 MB / 0.8419 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=400 -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/jenkins1/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