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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001204/0.001204, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001314/0.001314, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003935, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.7378, allocations: 142.3 MB / 0.9535 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0008405/0.7387, allocations: 379.8 kB / 0.9539 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.7396, allocations: 0.823 MB / 0.9547 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.7397, allocations: 1.219 kB / 0.9547 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.907e-05/0.7398, allocations: 8 kB / 0.9547 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.079e-05/0.7398, allocations: 5.141 kB / 0.9547 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.74, allocations: 8.125 kB / 0.9547 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.7401, allocations: 21.66 kB / 0.9547 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.7402, allocations: 12.14 kB / 0.9547 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.816e-05/0.7403, allocations: 4.781 kB / 0.9547 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.7403, allocations: 20.53 kB / 0.9548 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.7404, allocations: 1.031 kB / 0.9548 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.7404, allocations: 5.188 kB / 0.9548 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.7404, allocations: 15.55 kB / 0.9548 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.7405, allocations: 32.11 kB / 0.9548 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.796e-05/0.7406, allocations: 29.97 kB / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.7406, allocations: 0 / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7406, allocations: 0 / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7406, allocations: 0 / 0.9548 GB, free: 7.176 MB / 0.7169 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.0004632/0.7411, allocations: 344.4 kB / 0.9552 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.7411, allocations: 13.5 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.7412, allocations: 10.05 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.7413, allocations: 174.3 kB / 0.9554 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.7413, allocations: 1.969 kB / 0.9554 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.7413, allocations: 6.125 kB / 0.9554 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.7416, allocations: 67.67 kB / 0.9554 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7416, allocations: 0 / 0.9554 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.7416, allocations: 9.031 kB / 0.9554 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.7416, allocations: 0.9688 kB / 0.9554 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.7418, allocations: 57.59 kB / 0.9555 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.7422, allocations: 272.5 kB / 0.9558 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.7423, allocations: 49.36 kB / 0.9558 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.7423, allocations: 0 / 0.9558 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.7424, allocations: 36.02 kB / 0.9558 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.7424, allocations: 4 kB / 0.9558 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004013/0.7428, allocations: 114 kB / 0.956 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.7428, allocations: 56.59 kB / 0.956 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.532e-05/0.7429, allocations: 104.2 kB / 0.9561 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.7429, allocations: 25.7 kB / 0.9561 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.743, allocations: 86.73 kB / 0.9562 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.743, allocations: 3.906 kB / 0.9562 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.743, allocations: 4.969 kB / 0.9562 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.7431, allocations: 315.8 kB / 0.9565 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.435e-05/0.7432, allocations: 30.17 kB / 0.9566 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.7433, allocations: 23.84 kB / 0.9566 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.951e-05/0.7433, allocations: 23.02 kB / 0.9566 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7434, allocations: 0 / 0.9566 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002106/0.7436, allocations: 80.44 kB / 0.9567 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7436, allocations: 4.312 kB / 0.9567 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7436, allocations: 5.172 kB / 0.9567 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.7436, allocations: 0 / 0.9567 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.7437, allocations: 17.02 kB / 0.9567 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7437, allocations: 0 / 0.9567 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.7438, allocations: 10.92 kB / 0.9567 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.7438, allocations: 4 kB / 0.9567 GB, free: 5.34 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.584e-05/0.7439, allocations: 111.5 kB / 0.9568 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.744, allocations: 5 kB / 0.9568 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.717e-05/0.744, allocations: 12.22 kB / 0.9568 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.744, allocations: 8.984 kB / 0.9568 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.744, allocations: 0 / 0.9568 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.744, allocations: 0 / 0.9568 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.7441, allocations: 165.8 kB / 0.957 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7441, allocations: 1.094 kB / 0.957 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.7442, allocations: 12.2 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7442, allocations: 1.25 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.7442, allocations: 256 / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7442, allocations: 0 / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7442, allocations: 13.16 kB / 0.957 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.7445, allocations: 174.8 kB / 0.9572 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.7445, allocations: 78.11 kB / 0.9573 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.7445, allocations: 7.969 kB / 0.9573 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.7446, allocations: 10.92 kB / 0.9573 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.7447, allocations: 10.02 kB / 0.9573 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.7447, allocations: 0.9688 kB / 0.9573 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.7447, allocations: 87.11 kB / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7447, allocations: 0 / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.745, allocations: 13.28 kB / 0.9574 GB, free: 4.629 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/0.7451, allocations: 105.4 kB / 0.9575 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.7453, allocations: 49.11 kB / 0.9575 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.7453, allocations: 0 / 0.9575 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.7455, allocations: 30.67 kB / 0.9576 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.7456, allocations: 5.266 kB / 0.9576 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.7459, allocations: 117.5 kB / 0.9577 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.746, allocations: 0.6854 MB / 0.9584 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.771e-05/0.7461, allocations: 10.42 kB / 0.9584 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.7461, allocations: 10.03 kB / 0.9584 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7461, allocations: 0 / 0.9584 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of Templates: time 0.002537/0.7487, allocations: 0.4956 MB / 0.9589 GB, free: 3.406 MB / 0.7169 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches