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.001482/0.001482, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001596/0.001596, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.638/2.638, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 69.3 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6933/0.6951, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00192/0.6971, allocations: 0.6566 MB / 1.084 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00088/0.698, allocations: 0.8304 MB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.698, allocations: 5.031 kB / 1.084 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.187e-05/0.6982, allocations: 0.75 kB / 1.084 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.891e-05/0.6982, allocations: 9.812 kB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.6983, allocations: 24.53 kB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.6984, allocations: 25.39 kB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.6985, allocations: 10.41 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/0.6986, allocations: 15.03 kB / 1.084 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.6986, allocations: 24.38 kB / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.6987, allocations: 3.625 kB / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.6987, allocations: 2.688 kB / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.6987, allocations: 9.625 kB / 1.085 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.6988, allocations: 20.94 kB / 1.085 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.518e-05/0.6988, allocations: 41.97 kB / 1.085 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6989, allocations: 0.5625 kB / 1.085 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6989, allocations: 0 / 1.085 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6989, allocations: 0.625 kB / 1.085 GB, free: 0.5078 MB / 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.0003866/0.6993, allocations: 348.9 kB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.6993, allocations: 8.875 kB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.6993, allocations: 4.266 kB / 1.085 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.6995, allocations: 174.9 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.6995, allocations: 5.688 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.6995, allocations: 7.531 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.6998, allocations: 63.33 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.6998, allocations: 192 / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.6998, allocations: 7.875 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.6998, allocations: 0.9375 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.7, allocations: 48.61 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.7004, allocations: 273.5 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.7006, allocations: 43.47 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.7007, allocations: 24.92 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.7007, allocations: 5.406 kB / 1.086 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7008, allocations: 32.58 kB / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7008, allocations: 0 / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003772/0.7012, allocations: 87.34 kB / 1.086 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.7012, allocations: 53.78 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.7013, allocations: 111 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.7013, allocations: 25.7 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.7014, allocations: 96.05 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.7014, allocations: 0.6562 kB / 1.086 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.7015, allocations: 19.11 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.7016, allocations: 316.7 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.7017, allocations: 19.66 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.7018, allocations: 24.17 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.702, allocations: 40.84 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.702, allocations: 0 / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002124/0.7022, allocations: 66.42 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.7022, allocations: 4.438 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.7022, allocations: 2.062 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.7023, allocations: 4 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.7024, allocations: 13.55 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.7024, allocations: 0.6562 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.7024, allocations: 14.41 kB / 1.086 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.7024, allocations: 1.438 kB / 1.086 GB, free: 14.76 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.0001155/0.7026, allocations: 113.3 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.7026, allocations: 1.844 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.7026, allocations: 13.64 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7026, allocations: 0 / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7026, allocations: 4.938 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7027, allocations: 0.75 kB / 1.087 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.7029, allocations: 173.9 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7029, allocations: 0 / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/0.7029, allocations: 9.203 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7029, allocations: 1.094 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.703, allocations: 1.062 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.703, allocations: 0.6562 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.703, allocations: 0 / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.7033, allocations: 178.1 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.7033, allocations: 82.67 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.7033, allocations: 2.312 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.7034, allocations: 9.203 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.7035, allocations: 4.734 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.7035, allocations: 5.375 kB / 1.087 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.377e-05/0.7036, allocations: 85.3 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7036, allocations: 0 / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002171/0.7038, allocations: 8.25 kB / 1.087 GB, free: 14.09 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.000127/0.7039, allocations: 103.2 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.7042, allocations: 48.41 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7042, allocations: 0 / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.75e-05/0.7043, allocations: 26.5 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.7045, allocations: 3.266 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.7049, allocations: 145.7 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.7052, allocations: 0.6839 MB / 1.088 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.7053, allocations: 10.44 kB / 1.088 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.7053, allocations: 0 / 1.088 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.002118/0.7074, allocations: 0.6751 MB / 1.089 GB, free: 13.09 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