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.001596/0.001596, 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.002027/0.002027, allocations: 213.8 kB / 22.99 MB, free: 4.941 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.463/1.463, 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 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.729/2.729, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] 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.002161/0.002161, allocations: 68.55 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3599, allocations: 170 MB / 1.284 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002062/0.362, allocations: 0.6485 MB / 1.284 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3632, allocations: 0.8161 MB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.3632, allocations: 4 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.3633, allocations: 3.938 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.495e-05/0.3633, allocations: 3.938 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.3634, allocations: 11.98 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.544e-05/0.3635, allocations: 23.92 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3636, allocations: 4 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.3637, allocations: 19.91 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.3637, allocations: 4 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3638, allocations: 4 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.3638, allocations: 7.938 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.3638, allocations: 7.984 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.3638, allocations: 11.94 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.408e-05/0.3639, allocations: 31.89 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3639, allocations: 0 / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3639, allocations: 0 / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.364, allocations: 0 / 1.285 GB, free: 10.4 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.0004894/0.3644, allocations: 266.3 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3645, allocations: 8.031 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3645, allocations: 8.938 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.3647, allocations: 114.5 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.3647, allocations: 8.375 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3647, allocations: 384 / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.3649, allocations: 58.17 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3649, allocations: 192 / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3649, allocations: 7.922 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3649, allocations: 0 / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.3651, allocations: 43.95 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3655, allocations: 216.6 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.3656, allocations: 38.44 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.081e-05/0.3657, allocations: 16.91 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.3657, allocations: 0 / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3658, allocations: 38.5 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3658, allocations: 0 / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000358/0.3661, allocations: 89.62 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.3662, allocations: 51.41 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.212e-05/0.3663, allocations: 105.8 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3663, allocations: 29.7 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.3663, allocations: 80.14 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.3664, allocations: 3.953 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.3664, allocations: 13.72 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3665, allocations: 318.8 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.3666, allocations: 11.98 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.3667, allocations: 20.02 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3668, allocations: 36.81 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3668, allocations: 3.938 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002284/0.3671, allocations: 61.61 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3671, allocations: 4 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3671, allocations: 0 / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3671, allocations: 8.094 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.3672, allocations: 7.984 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3672, allocations: 0 / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.3673, allocations: 7.984 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3673, allocations: 0 / 1.287 GB, free: 8.582 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 9.221e-05/0.3673, allocations: 121.7 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.3674, allocations: 0 / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.3674, allocations: 3.156 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3674, allocations: 0 / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3674, allocations: 4.25 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3674, allocations: 0 / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.3676, allocations: 117.2 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3676, allocations: 0 / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.3676, allocations: 7.984 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3676, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.3676, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3676, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3676, allocations: 4 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.3679, allocations: 171.3 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.3679, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3679, allocations: 4 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.368, allocations: 7.984 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.368, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.368, allocations: 3.938 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.3681, allocations: 87.27 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3681, allocations: 3.938 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002267/0.3683, allocations: 4 kB / 1.287 GB, free: 8 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.0001258/0.3684, allocations: 99.28 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3686, allocations: 31.97 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3686, allocations: 0 / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.3687, allocations: 19.91 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.369, allocations: 7.938 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.3693, allocations: 127.4 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.357e-05/0.3694, allocations: 71.47 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.3694, allocations: 11.44 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3694, allocations: 0 / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of Templates: time 0.00219/0.3716, allocations: 0.5816 MB / 1.288 GB, free: 6.996 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/jenkins1/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: 11.208323203958571]