Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001597/0.001597, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001748/0.001748, allocations: 213.8 kB / 22.25 MB, free: 5.125 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.404/3.404, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002862/0.002862, allocations: 65.92 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4317, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002185/0.4339, allocations: 0.6531 MB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4351, allocations: 0.832 MB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.4351, allocations: 4.047 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.016e-05/0.4352, allocations: 8 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.122e-05/0.4352, allocations: 3.938 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001066/0.4353, allocations: 7.984 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.4354, allocations: 19.94 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.4355, allocations: 15.97 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.4355, allocations: 11.83 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.4355, allocations: 11.92 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.4356, allocations: 4 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.441e-06/0.4356, allocations: 4 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.4356, allocations: 11.98 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.4356, allocations: 7.938 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 8.547e-05/0.4357, allocations: 31.89 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4357, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4357, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4357, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 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.0003833/0.4361, allocations: 266.3 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.4361, allocations: 12.03 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.4362, allocations: 8.891 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.4363, allocations: 118.5 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.4363, allocations: 4.312 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.4363, allocations: 8.359 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.4365, allocations: 54.22 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.4365, allocations: 192 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4365, allocations: 11.88 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4365, allocations: 4 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.4367, allocations: 35.97 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.4372, allocations: 247.9 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.4373, allocations: 30.55 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.4374, allocations: 24.91 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.4374, allocations: 4 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.4374, allocations: 30.56 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.4374, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0003308/0.4378, allocations: 77.58 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.4378, allocations: 51.41 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.4379, allocations: 106 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.4379, allocations: 25.7 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.881e-05/0.438, allocations: 88.12 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.438, allocations: 3.953 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.4381, allocations: 13.72 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4382, allocations: 314.8 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.4383, allocations: 15.98 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.4384, allocations: 19.97 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.4385, allocations: 36.83 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4385, allocations: 256 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000197/0.4387, allocations: 65.59 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4387, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4387, allocations: 8.094 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4388, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.4388, allocations: 11.98 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4388, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.4389, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.4389, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 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 0.0001019/0.439, allocations: 122.2 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.439, allocations: 8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.4391, allocations: 7.156 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4391, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4391, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.4391, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.4392, allocations: 136.7 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4392, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.4393, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4393, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.4393, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4393, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4393, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.4396, allocations: 175.3 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.4396, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.4396, allocations: 3.984 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.4396, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.4397, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.4397, allocations: 4.031 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001155/0.4398, allocations: 83.27 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4398, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002163/0.44, allocations: 8 kB / 1.33 GB, free: 13.37 MB / 1.029 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.0001245/0.4401, allocations: 95.25 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.4403, allocations: 31.95 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4404, allocations: 4.062 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.08e-05/0.4404, allocations: 19.92 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.4407, allocations: 6.875 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.4411, allocations: 101.7 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4414, allocations: 0.6768 MB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.816e-05/0.4415, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.4415, allocations: 15.5 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/0.4415, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Templates: time 0.003088/0.4446, allocations: 443.1 kB / 1.331 GB, free: 11.93 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.832122598774731]