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.001309/0.001309, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.005045/0.005045, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9975/0.9975, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.94/1.94, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0.875 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.516e-05, allocations: 5.547 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001599/0.001624, allocations: 0.6694 MB / 0.7607 GB, free: 6 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.002527, allocations: 0.8398 MB / 0.7615 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.002572, allocations: 0 / 0.7615 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.324e-05/0.002665, allocations: 5.062 kB / 0.7615 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.838e-05/0.002693, allocations: 1.531 kB / 0.7615 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.002794, allocations: 12.91 kB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.002866, allocations: 24.89 kB / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.906e-05/0.002935, allocations: 11.98 kB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.002995, allocations: 9.625 kB / 0.7616 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.003042, allocations: 8.859 kB / 0.7616 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.003059, allocations: 1.344 kB / 0.7616 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-06/0.003067, allocations: 4 kB / 0.7616 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.003111, allocations: 10.62 kB / 0.7616 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.003135, allocations: 9.641 kB / 0.7616 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00308/0.006215, allocations: 17.28 kB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.006218, allocations: 8.594 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.006219, allocations: 0.9062 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.006223, allocations: 0 / 0.7616 GB, free: 5.043 MB / 0.7136 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.0003091/0.006532, allocations: 240.2 kB / 0.7618 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.006566, allocations: 12.03 kB / 0.7618 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.00659, allocations: 0.9375 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.006692, allocations: 113.8 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.006704, allocations: 8.375 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.006713, allocations: 384 / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.006815, allocations: 51.7 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.006822, allocations: 0.9375 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.00683, allocations: 4.375 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.006837, allocations: 5.156 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.006855, allocations: 12.75 kB / 0.762 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.007057, allocations: 161.3 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.007095, allocations: 18.58 kB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.00711, allocations: 4.859 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.007121, allocations: 3.984 kB / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.007143, allocations: 38.56 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.007144, allocations: 1.469 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001021/0.007246, allocations: 37.62 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.007276, allocations: 52.06 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.007331, allocations: 108 kB / 0.7624 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.007343, allocations: 25.7 kB / 0.7625 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.007376, allocations: 88.19 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.00739, allocations: 5.203 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.007416, allocations: 13.72 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.007492, allocations: 315.8 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.007502, allocations: 4 kB / 0.7629 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-06/0.007511, allocations: 7.219 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.277e-05/0.007534, allocations: 15.67 kB / 0.7629 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.007537, allocations: 4 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.805e-05/0.007585, allocations: 29.7 kB / 0.7629 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.007596, allocations: 5.719 kB / 0.7629 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007601, allocations: 3.938 kB / 0.7629 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.007612, allocations: 2.75 kB / 0.7629 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.007665, allocations: 4.766 kB / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.007667, allocations: 0 / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.007688, allocations: 11.92 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.007692, allocations: 0 / 0.763 GB, free: 3.52 MB / 0.7136 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 5.362e-05/0.007746, allocations: 112.7 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.007765, allocations: 4.469 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.7e-05/0.007782, allocations: 11.09 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007784, allocations: 2.188 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.007785, allocations: 0 / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.007788, allocations: 0 / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.007893, allocations: 78.44 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007894, allocations: 0 / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.007912, allocations: 4.656 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007914, allocations: 0 / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-06/0.007918, allocations: 3.156 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.007919, allocations: 0.6562 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.007922, allocations: 7.922 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.708e-05/0.007999, allocations: 127.6 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.008007, allocations: 0 / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.008015, allocations: 0 / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.008059, allocations: 7.984 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.008084, allocations: 8.156 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.008086, allocations: 0 / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.274e-05/0.008099, allocations: 12.8 kB / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.008099, allocations: 0 / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001772/0.008276, allocations: 8 kB / 0.7633 GB, free: 3.105 MB / 0.7136 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 9.15e-05/0.008367, allocations: 80.41 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.926e-05/0.008417, allocations: 8.859 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.008419, allocations: 1.812 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.008432, allocations: 8.859 kB / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.008593, allocations: 4 kB / 0.7634 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.008822, allocations: 123.1 kB / 0.7635 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.008856, allocations: 55.34 kB / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.008872, allocations: 3.938 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.008909, allocations: 51.38 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/0.008909, allocations: 0 / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of Templates: time 0.005198/0.01411, allocations: 448.1 kB / 0.7641 GB, free: 2.289 MB / 0.7136 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1401525139808655]