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.001302/0.001302, allocations: 110.5 kB / 16.41 MB, free: 6.453 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.00129/0.00129, allocations: 188.1 kB / 17.34 MB, free: 5.738 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 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.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.89 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8744/0.8758, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002111/0.878, allocations: 0.6653 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.879, allocations: 0.8307 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.8791, allocations: 4 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.8792, allocations: 1.828 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.667e-05/0.8792, allocations: 4.5 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.8794, allocations: 32.7 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.8795, allocations: 25.52 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.8797, allocations: 10.55 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.8797, allocations: 16.11 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.8798, allocations: 20.66 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.8798, allocations: 3.625 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.8798, allocations: 6.688 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.8799, allocations: 13.09 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.88, allocations: 14.33 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.8801, allocations: 36.72 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.8801, allocations: 2.141 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8801, allocations: 0 / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.8801, allocations: 0 / 1.09 GB, free: 4.367 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.0004408/0.8806, allocations: 349 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.8806, allocations: 14.25 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.8806, allocations: 6.844 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.8808, allocations: 171 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.8808, allocations: 3.438 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.8808, allocations: 6.375 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.881, allocations: 62.64 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.881, allocations: 4.188 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.8811, allocations: 9.219 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8811, allocations: 1.062 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.8813, allocations: 43.8 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.8816, allocations: 279.7 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.8818, allocations: 39.88 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/0.8819, allocations: 28.59 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.8819, allocations: 0.5156 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.8819, allocations: 32.34 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8819, allocations: 0 / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003799/0.8823, allocations: 96.31 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.8824, allocations: 52.89 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.8824, allocations: 107.3 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.8824, allocations: 29.7 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.8825, allocations: 83.7 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.8825, allocations: 5.641 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.8825, allocations: 17.91 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.8826, allocations: 318.5 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.5e-05/0.8827, allocations: 19.56 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.18e-05/0.8828, allocations: 22.45 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.883, allocations: 44.92 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.883, allocations: 0 / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.8832, allocations: 71.23 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.8832, allocations: 4.531 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.8832, allocations: 5.312 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8833, allocations: 0 / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.8834, allocations: 9.969 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8834, allocations: 0.9062 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.8835, allocations: 9.953 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.8835, allocations: 1.641 kB / 1.092 GB, free: 2.617 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.0001225/0.8836, allocations: 118.5 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.8836, allocations: 5.031 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.8837, allocations: 9.016 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8837, allocations: 4.688 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8837, allocations: 0 / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.8837, allocations: 1.031 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.8838, allocations: 173.1 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8838, allocations: 0.6562 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.8839, allocations: 9.797 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8839, allocations: 1.031 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.8839, allocations: 0 / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.8839, allocations: 2.016 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.884, allocations: 4 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.8842, allocations: 173.7 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.8842, allocations: 78.97 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.8843, allocations: 1.672 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.8843, allocations: 6.75 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.8844, allocations: 11.91 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.8844, allocations: 1.406 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.658e-05/0.8844, allocations: 85.02 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8845, allocations: 0 / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002185/0.8847, allocations: 5.094 kB / 1.093 GB, free: 1.945 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.0001108/0.8848, allocations: 103.3 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.885, allocations: 50.3 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.885, allocations: 0 / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.8851, allocations: 26.78 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.8854, allocations: 3.234 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.8857, allocations: 150.2 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.8859, allocations: 0.6798 MB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.8859, allocations: 14.61 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8859, allocations: 0 / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of Templates: time 0.002435/0.8884, allocations: 0.68 MB / 1.094 GB, free: 0.9375 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/jenkins1/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