Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.26/3.26, allocations: 0.5107 GB / 0.8166 GB, free: 17.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 72.7 kB / 1.187 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3401, allocations: 181.9 MB / 1.365 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001896/0.342, allocations: 0.6606 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.343, allocations: 0.8164 MB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.343, allocations: 0 / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.33e-05/0.3431, allocations: 3.938 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.031e-05/0.3431, allocations: 3.984 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.696e-05/0.3432, allocations: 11.94 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.3433, allocations: 23.92 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.3434, allocations: 7.984 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.3434, allocations: 15.98 kB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.021e-05/0.3435, allocations: 11.92 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3435, allocations: 3.938 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.3435, allocations: 4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.3436, allocations: 8 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.3436, allocations: 7.938 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.794e-05/0.3437, allocations: 27.89 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3437, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3437, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.3437, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004395/0.3441, allocations: 270.3 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3442, allocations: 12.03 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.3442, allocations: 4.922 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3443, allocations: 114.5 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3443, allocations: 384 / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3443, allocations: 4.375 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3445, allocations: 54.23 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3445, allocations: 192 / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3445, allocations: 11.88 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3446, allocations: 3.938 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.3447, allocations: 39.95 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.3451, allocations: 216.6 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.3452, allocations: 34.44 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3453, allocations: 20.91 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3453, allocations: 4 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3454, allocations: 34.55 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3454, allocations: 7.938 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003276/0.3457, allocations: 69.66 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3457, allocations: 51.41 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/0.3458, allocations: 105.8 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3458, allocations: 25.7 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.3459, allocations: 88.09 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.3459, allocations: 4 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.346, allocations: 21.77 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3461, allocations: 310.8 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/0.3462, allocations: 19.98 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.3462, allocations: 11.98 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.3464, allocations: 36.81 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3464, allocations: 3.938 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001838/0.3466, allocations: 65.69 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3466, allocations: 8 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3466, allocations: 3.984 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3466, allocations: 0 / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/0.3467, allocations: 4 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3467, allocations: 3.938 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.3467, allocations: 7.984 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3468, allocations: 0 / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.077e-05/0.3468, allocations: 121.8 kB / 1.368 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.3469, allocations: 256 / 1.368 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.3469, allocations: 7.156 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3469, allocations: 7.984 kB / 1.368 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3469, allocations: 7.984 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3469, allocations: 0 / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.347, allocations: 105.3 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.347, allocations: 3.938 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.3471, allocations: 7.984 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3471, allocations: 0 / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3471, allocations: 8 kB / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3471, allocations: 0 / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3471, allocations: 0 / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.3474, allocations: 155.5 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.3474, allocations: 4 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.3474, allocations: 0 / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.3475, allocations: 11.92 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.3475, allocations: 0 / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.3475, allocations: 4.031 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.3475, allocations: 87.27 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3475, allocations: 0 / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002153/0.3478, allocations: 11.89 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001171/0.3479, allocations: 95.25 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.3481, allocations: 31.97 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3481, allocations: 0 / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.3482, allocations: 24.03 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.3485, allocations: 7.938 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.3488, allocations: 127.3 kB / 1.369 GB, free: 9.176 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.783e-05/0.3488, allocations: 63.34 kB / 1.369 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.3489, allocations: 11.44 kB / 1.369 GB, free: 9.082 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3489, allocations: 0 / 1.369 GB, free: 9.082 MB / 1.061 GB Notification: Performance of Templates: time 0.00231/0.3512, allocations: 0.5911 MB / 1.369 GB, free: 8.5 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.25965214939788]