Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001487/0.001487, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.529/1.529, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.762/2.762, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001955, allocations: 63.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7221/0.7241, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001897/0.726, allocations: 0.6561 MB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009543/0.727, allocations: 0.8429 MB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.727, allocations: 4 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.783e-05/0.7271, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.15e-05/0.7272, allocations: 3.938 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.7273, allocations: 15.92 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.7274, allocations: 31.97 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.7275, allocations: 11.98 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.7275, allocations: 19.88 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.7276, allocations: 23.86 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.7276, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.7277, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.7277, allocations: 11.98 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.7278, allocations: 19.86 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.809e-05/0.7279, allocations: 39.88 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7279, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7279, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.7279, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 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.0005021/0.7284, allocations: 345.4 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.7284, allocations: 12.03 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.7285, allocations: 8.828 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.7286, allocations: 172.3 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.7287, allocations: 4.375 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.7287, allocations: 384 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.7289, allocations: 66.22 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.7289, allocations: 8.109 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.7289, allocations: 3.938 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7289, allocations: 4 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.7291, allocations: 47.95 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.7296, allocations: 284.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.7297, allocations: 46.5 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/0.7298, allocations: 24.89 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.7298, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7299, allocations: 34.56 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.7299, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003844/0.7303, allocations: 85.64 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.7303, allocations: 51.41 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.7304, allocations: 109.8 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.7304, allocations: 25.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.7305, allocations: 91.98 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.7305, allocations: 7.906 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.7306, allocations: 21.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7307, allocations: 318.9 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.7308, allocations: 19.97 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.7309, allocations: 15.98 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.7311, allocations: 44.81 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.7311, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002114/0.7313, allocations: 69.72 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7313, allocations: 8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.7313, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.7314, allocations: 3.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.7315, allocations: 11.92 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.7315, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.7315, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.7316, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 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.0001445/0.7317, allocations: 125.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.7317, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.7318, allocations: 3.125 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7318, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.7318, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.7318, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.732, allocations: 173.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.732, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.7321, allocations: 7.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7321, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.7321, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7321, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7321, allocations: 256 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.7324, allocations: 171.3 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.7324, allocations: 81.09 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.7324, allocations: 12.03 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.7325, allocations: 3.938 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.7326, allocations: 11.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.7326, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.7326, allocations: 79.28 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7326, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002188/0.7329, allocations: 8 kB / 1.021 GB, free: 13.91 MB / 0.7794 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.0001359/0.733, allocations: 107.2 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.7333, allocations: 43.89 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7333, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.7334, allocations: 27.92 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.7336, allocations: 5.656 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.7339, allocations: 125.6 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.7343, allocations: 0.6807 MB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.7343, allocations: 4 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.7344, allocations: 7.438 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7344, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.002934/0.7373, allocations: 0.6199 MB / 1.023 GB, free: 12.24 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches