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.0009761/0.0009764, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007184/0.007184, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.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.576/2.576, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.929/0.9294, allocations: 142.4 MB / 0.9551 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0008682/0.9303, allocations: 392.4 kB / 0.9554 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.9313, allocations: 0.8358 MB / 0.9562 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.9313, allocations: 0 / 0.9562 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.396e-05/0.9314, allocations: 3.938 kB / 0.9562 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.742e-05/0.9315, allocations: 1.125 kB / 0.9562 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.9316, allocations: 17.33 kB / 0.9563 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.623e-05/0.9317, allocations: 32.39 kB / 0.9563 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.9318, allocations: 7.609 kB / 0.9563 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.9319, allocations: 16.52 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.9319, allocations: 16.67 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.932, allocations: 1.281 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.932, allocations: 2.344 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.932, allocations: 6.531 kB / 0.9563 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.9321, allocations: 41.09 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.318e-05/0.9322, allocations: 34.39 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9322, allocations: 5.188 kB / 0.9564 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9322, allocations: 0 / 0.9564 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.9322, allocations: 0 / 0.9564 GB, free: 6.602 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.0004448/0.9327, allocations: 351.6 kB / 0.9568 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.9327, allocations: 10.16 kB / 0.9568 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.9328, allocations: 6.156 kB / 0.9568 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.9329, allocations: 173.3 kB / 0.9569 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.9329, allocations: 1.875 kB / 0.9569 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.933, allocations: 5.875 kB / 0.9569 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.9332, allocations: 73.34 kB / 0.957 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.9332, allocations: 192 / 0.957 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.9332, allocations: 3.938 kB / 0.957 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9332, allocations: 0.9062 kB / 0.957 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.9335, allocations: 54.11 kB / 0.9571 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.9338, allocations: 284.1 kB / 0.9573 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.934, allocations: 50.02 kB / 0.9574 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/0.9341, allocations: 32.06 kB / 0.9574 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.9341, allocations: 1.406 kB / 0.9574 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.9341, allocations: 34.5 kB / 0.9575 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.9341, allocations: 0.9688 kB / 0.9575 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003873/0.9345, allocations: 106.1 kB / 0.9576 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.9345, allocations: 55.41 kB / 0.9576 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.9346, allocations: 108.3 kB / 0.9577 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.9346, allocations: 26.8 kB / 0.9577 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.9347, allocations: 93.7 kB / 0.9578 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.9347, allocations: 2.734 kB / 0.9578 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.9347, allocations: 15.06 kB / 0.9578 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.9348, allocations: 315.8 kB / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.9349, allocations: 27.5 kB / 0.9582 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-05/0.9349, allocations: 26.64 kB / 0.9582 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.9351, allocations: 55.69 kB / 0.9582 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9352, allocations: 0 / 0.9582 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002098/0.9354, allocations: 84.91 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9354, allocations: 5.031 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9354, allocations: 0 / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.9354, allocations: 0 / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.9355, allocations: 13.17 kB / 0.9583 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9355, allocations: 4.031 kB / 0.9584 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.9356, allocations: 9.984 kB / 0.9584 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.9356, allocations: 1.625 kB / 0.9584 GB, free: 4.711 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.9357, allocations: 116.8 kB / 0.9585 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.9358, allocations: 9.641 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.9358, allocations: 3.125 kB / 0.9585 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9358, allocations: 1.344 kB / 0.9585 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9358, allocations: 4 kB / 0.9585 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.9358, allocations: 0 / 0.9585 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.9359, allocations: 174.6 kB / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9359, allocations: 0 / 0.9587 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.936, allocations: 12.92 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.936, allocations: 0 / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.936, allocations: 1.781 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.936, allocations: 0 / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9361, allocations: 0 / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.9363, allocations: 183.6 kB / 0.9588 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.9363, allocations: 81.02 kB / 0.9589 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.9363, allocations: 1.812 kB / 0.9589 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.9364, allocations: 13.36 kB / 0.9589 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.9365, allocations: 9.719 kB / 0.9589 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.9365, allocations: 1.812 kB / 0.9589 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.9365, allocations: 90.95 kB / 0.959 GB, free: 4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9365, allocations: 0 / 0.959 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002183/0.9367, allocations: 9.562 kB / 0.959 GB, free: 3.996 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 (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.0001037/0.9369, allocations: 97.56 kB / 0.9591 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.9371, allocations: 56.67 kB / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9371, allocations: 0 / 0.9592 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.9372, allocations: 30.95 kB / 0.9592 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.9375, allocations: 7.516 kB / 0.9592 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.9378, allocations: 125.7 kB / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.831e-05/0.9379, allocations: 0.6834 MB / 0.96 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.799e-05/0.9379, allocations: 6.906 kB / 0.96 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.938, allocations: 9.375 kB / 0.96 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.938, allocations: 1.094 kB / 0.96 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of Templates: time 0.002523/0.9405, allocations: 0.5192 MB / 0.9605 GB, free: 2.75 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","/var/lib/jenkins/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