Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001677/0.001677, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001683/0.001683, allocations: 210.8 kB / 22.25 MB, free: 5.262 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.632/1.632, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.9/2.9, allocations: 475.9 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002159/0.002159, allocations: 68.16 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4203, allocations: 170 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002364/0.4227, allocations: 0.655 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.4239, allocations: 0.8122 MB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.424, allocations: 0 / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.4241, allocations: 3.938 kB / 1.284 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.869e-05/0.4241, allocations: 15.86 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.4243, allocations: 4 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.939e-05/0.4244, allocations: 19.98 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.4245, allocations: 8 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/0.4246, allocations: 15.92 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.4246, allocations: 19.91 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.4246, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.4247, allocations: 4 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.4247, allocations: 4 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.4247, allocations: 11.88 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.4249, allocations: 31.89 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4249, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4249, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4249, allocations: 4 kB / 1.285 GB, free: 10.26 MB / 0.9825 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.0005478/0.4254, allocations: 266.3 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4255, allocations: 12.03 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.4255, allocations: 4.875 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.4257, allocations: 118.5 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.4257, allocations: 384 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4257, allocations: 4.375 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.4259, allocations: 58.17 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4259, allocations: 192 / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.426, allocations: 15.94 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.426, allocations: 0 / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.4261, allocations: 35.95 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.4266, allocations: 208.6 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.4267, allocations: 42.42 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.4268, allocations: 20.91 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.4268, allocations: 4 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.4269, allocations: 34.55 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.4269, allocations: 0 / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000399/0.4273, allocations: 77.61 kB / 1.285 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.4273, allocations: 55.34 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4275, allocations: 105.8 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.4275, allocations: 25.7 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.4276, allocations: 80.27 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.4276, allocations: 15.94 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.4276, allocations: 13.7 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002306/0.4279, allocations: 314.8 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.428, allocations: 15.98 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.428, allocations: 15.98 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.4282, allocations: 32.81 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4282, allocations: 8 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001876/0.4284, allocations: 57.67 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.4284, allocations: 11.94 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4284, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.4284, allocations: 3.984 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.4285, allocations: 4 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4285, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.4286, allocations: 11.98 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4286, allocations: 11.91 kB / 1.286 GB, free: 8.434 MB / 0.9825 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.0001093/0.4287, allocations: 117.7 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.4287, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.4287, allocations: 3.156 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4288, allocations: 4 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4288, allocations: 3.984 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4288, allocations: 0 / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.4289, allocations: 105.3 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4289, allocations: 0 / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.429, allocations: 7.984 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.429, allocations: 8.25 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.429, allocations: 0 / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.429, allocations: 4 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.429, allocations: 0 / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.4292, allocations: 167.3 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-06/0.4292, allocations: 4 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.4293, allocations: 0 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.4293, allocations: 7.984 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.4294, allocations: 4.031 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.4294, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.4294, allocations: 87.27 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4294, allocations: 0 / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002196/0.4297, allocations: 4 kB / 1.287 GB, free: 7.863 MB / 0.9825 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.0001625/0.4298, allocations: 95.25 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.4301, allocations: 31.97 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4301, allocations: 4.062 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.4301, allocations: 15.97 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.4305, allocations: 11.88 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.4309, allocations: 105.7 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.328e-05/0.431, allocations: 67.34 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.431, allocations: 0 / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.431, allocations: 7.438 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.431, allocations: 4.062 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of Templates: time 0.003255/0.4343, allocations: 466.8 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.541210293769836]