Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002411/0.002411, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 443.4 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003096/0.003096, allocations: 59.91 kB / 1.061 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.123, allocations: 160.8 MB / 1.218 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002205/1.126, allocations: 0.6389 MB / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001331/1.127, allocations: 0.7942 MB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/1.127, allocations: 0 / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/1.127, allocations: 0 / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.867e-05/1.127, allocations: 16.97 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/1.127, allocations: 6.719 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.834e-05/1.127, allocations: 25.05 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/1.128, allocations: 14.36 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/1.128, allocations: 11.73 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/1.128, allocations: 11.61 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/1.128, allocations: 1.312 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/1.128, allocations: 2.719 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/1.128, allocations: 10.59 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/1.128, allocations: 14.27 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/1.128, allocations: 34.53 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/1.128, allocations: 3.984 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.325e-06/1.128, allocations: 0 / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.235e-06/1.128, allocations: 1.125 kB / 1.22 GB, free: 2.402 MB / 0.92 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.0005928/1.129, allocations: 340.8 kB / 1.22 GB, free: 2.039 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.129, allocations: 9.656 kB / 1.22 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/1.129, allocations: 10.05 kB / 1.22 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/1.129, allocations: 171.5 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.129, allocations: 5.5 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/1.129, allocations: 6.781 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/1.129, allocations: 52.39 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.129, allocations: 192 / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.129, allocations: 5.219 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.129, allocations: 3.984 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/1.129, allocations: 36.53 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/1.13, allocations: 286.3 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/1.13, allocations: 31.38 kB / 1.221 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/1.13, allocations: 18.41 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/1.13, allocations: 0 / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.13, allocations: 43.75 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/1.13, allocations: 0 / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0004521/1.131, allocations: 77.3 kB / 1.221 GB, free: 1.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/1.131, allocations: 51.41 kB / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/1.131, allocations: 104.1 kB / 1.221 GB, free: 1.129 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/1.131, allocations: 26.95 kB / 1.221 GB, free: 1.098 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/1.131, allocations: 93.56 kB / 1.221 GB, free: 1.004 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/1.131, allocations: 4 kB / 1.221 GB, free: 1 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/1.131, allocations: 12.16 kB / 1.221 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002506/1.131, allocations: 319.9 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/1.131, allocations: 11.7 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/1.131, allocations: 16.98 kB / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/1.132, allocations: 46.56 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.132, allocations: 3.938 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001904/1.132, allocations: 58.11 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.132, allocations: 5.625 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.132, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.132, allocations: 1.062 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/1.132, allocations: 12.77 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.132, allocations: 0 / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/1.132, allocations: 7.578 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/1.132, allocations: 1.25 kB / 1.222 GB, free: 0.5625 MB / 0.92 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.0001102/1.132, allocations: 115.8 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/1.132, allocations: 5.266 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/1.132, allocations: 7.156 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.132, allocations: 1.344 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.132, allocations: 256 / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.132, allocations: 4 kB / 1.222 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/1.132, allocations: 167.4 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.132, allocations: 1.062 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/1.132, allocations: 8.422 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.132, allocations: 0 / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/1.132, allocations: 0.75 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/1.132, allocations: 5.031 kB / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.132, allocations: 0 / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/1.133, allocations: 164.8 kB / 1.222 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/1.133, allocations: 78.2 kB / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/1.133, allocations: 0 / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/1.133, allocations: 8.109 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/1.133, allocations: 4.75 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/1.133, allocations: 1 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.921e-05/1.133, allocations: 78.5 kB / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.133, allocations: 5.094 kB / 1.222 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002123/1.133, allocations: 3.281 kB / 1.222 GB, free: 15.88 MB / 0.9356 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.0001352/1.133, allocations: 102.8 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002149/1.134, allocations: 34.41 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.134, allocations: 1.062 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/1.134, allocations: 21.52 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/1.134, allocations: 6.125 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/1.134, allocations: 115.9 kB / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/1.135, allocations: 0.6783 MB / 1.223 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.844e-05/1.135, allocations: 2.688 kB / 1.223 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/1.135, allocations: 11.38 kB / 1.223 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/1.135, allocations: 1.031 kB / 1.223 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of Templates: time 0.003143/1.138, allocations: 431.5 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.59259460773319]