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.001321/0.001321, allocations: 110.4 kB / 16.41 MB, free: 6.508 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.001339/0.001339, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.561/2.561, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7181, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001749/0.7199, allocations: 0.6676 MB / 1.209 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008752/0.7208, allocations: 0.839 MB / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.7209, allocations: 0 / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.675e-05/0.721, allocations: 3.938 kB / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.045e-05/0.721, allocations: 7.938 kB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.7212, allocations: 11.98 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.156e-05/0.7213, allocations: 27.92 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.7214, allocations: 19.97 kB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.7214, allocations: 11.94 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.7215, allocations: 19.92 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.7215, allocations: 4 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.7215, allocations: 4 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.7216, allocations: 7.984 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.7216, allocations: 27.91 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.623e-05/0.7217, allocations: 39.7 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7217, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7217, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7217, allocations: 0 / 1.21 GB, free: 12.1 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.0004292/0.7222, allocations: 359.1 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.7222, allocations: 8.031 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.7222, allocations: 4.938 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.7224, allocations: 168.3 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.7224, allocations: 8.375 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.7224, allocations: 384 / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.7226, allocations: 62.23 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.7226, allocations: 192 / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.7226, allocations: 3.938 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.7226, allocations: 4 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.7228, allocations: 51.88 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.7232, allocations: 274.9 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.7233, allocations: 50.48 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.7234, allocations: 20.91 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.7234, allocations: 0 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.7235, allocations: 38.56 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.7235, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003574/0.7238, allocations: 85.55 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.7239, allocations: 59.52 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.724, allocations: 101.9 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.724, allocations: 25.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.724, allocations: 95.97 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.724, allocations: 4 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.7241, allocations: 17.66 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.7242, allocations: 318.8 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.7243, allocations: 23.97 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.7244, allocations: 15.98 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.7245, allocations: 40.81 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7245, allocations: 0 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/0.7247, allocations: 73.72 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.7248, allocations: 8.031 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.7248, allocations: 0 / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7248, allocations: 0 / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.7249, allocations: 12.23 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.7249, allocations: 3.938 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.725, allocations: 15.89 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.725, allocations: 0 / 1.212 GB, free: 9.961 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.0001088/0.7251, allocations: 117.7 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.7251, allocations: 7.938 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.7252, allocations: 7.125 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.7252, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.7252, allocations: 4 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.7252, allocations: 0 / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.7253, allocations: 165.6 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7253, allocations: 0 / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.7254, allocations: 11.98 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.7254, allocations: 0 / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.7254, allocations: 7.984 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7254, allocations: 4 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7254, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.7257, allocations: 171.4 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.7257, allocations: 85.05 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.7257, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.7258, allocations: 12.02 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.7259, allocations: 0 / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.7259, allocations: 4 kB / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.7259, allocations: 87.27 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.7259, allocations: 0 / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000222/0.7262, allocations: 7.906 kB / 1.213 GB, free: 9.188 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.0001117/0.7263, allocations: 95.25 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.7265, allocations: 51.89 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7265, allocations: 0 / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.7266, allocations: 15.98 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.7269, allocations: 11.94 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.7272, allocations: 155.1 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.7274, allocations: 0.6769 MB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.7274, allocations: 15.44 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.7275, allocations: 0 / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of Templates: time 0.001797/0.7293, allocations: 0.6781 MB / 1.214 GB, free: 7.426 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/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