Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0009595/0.0009595, allocations: 80.8 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.0009573/0.0009573, 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.9755/0.9755, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.375e-05, allocations: 7.812 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001967/0.001991, allocations: 0.6843 MB / 0.7607 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.003075, allocations: 0.8797 MB / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.003111, allocations: 0 / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.612e-05/0.003177, allocations: 4.594 kB / 0.7615 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.003203, allocations: 6.578 kB / 0.7616 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.003325, allocations: 15.98 kB / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.003393, allocations: 40.36 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.167e-05/0.003455, allocations: 12.88 kB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.853e-05/0.003523, allocations: 21.73 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.003578, allocations: 13.61 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.003596, allocations: 4.5 kB / 0.7617 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.003605, allocations: 1.781 kB / 0.7617 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.003644, allocations: 13.62 kB / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.003667, allocations: 9.312 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.353e-05/0.003751, allocations: 30.03 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003753, allocations: 0 / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.51e-07/0.003754, allocations: 1.219 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.003757, allocations: 0 / 0.7617 GB, free: 4.941 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003055/0.004062, allocations: 241.6 kB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.004094, allocations: 9.812 kB / 0.7619 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.004118, allocations: 4.938 kB / 0.762 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.004231, allocations: 118.5 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.004249, allocations: 8.375 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.004259, allocations: 1.125 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.004387, allocations: 62.94 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.004392, allocations: 0.75 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.0044, allocations: 1.125 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.004405, allocations: 5.25 kB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.004439, allocations: 9.312 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.00467, allocations: 174.9 kB / 0.7623 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.004723, allocations: 22.58 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.004742, allocations: 9.656 kB / 0.7623 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.004756, allocations: 4.969 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.004783, allocations: 30.56 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.004784, allocations: 0 / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000127/0.004911, allocations: 51.03 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.00494, allocations: 52.03 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.005006, allocations: 110.8 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.005017, allocations: 26.33 kB / 0.7626 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.005055, allocations: 90.23 kB / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.005071, allocations: 3.953 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.005111, allocations: 29.69 kB / 0.7627 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.005207, allocations: 312.5 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.005221, allocations: 4 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.061e-05/0.005232, allocations: 1.375 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.005272, allocations: 19.67 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.005273, allocations: 3.938 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.014e-05/0.005334, allocations: 40.44 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.005346, allocations: 9.031 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.00535, allocations: 256 / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.00536, allocations: 0 / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.005441, allocations: 12 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.005444, allocations: 0 / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.167e-05/0.005466, allocations: 0 / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.005474, allocations: 10.27 kB / 0.7631 GB, free: 3.352 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.058e-05/0.005544, allocations: 108.7 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.005566, allocations: 0 / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.005587, allocations: 15.25 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.005588, allocations: 0.6562 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.00559, allocations: 0.7812 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005592, allocations: 0 / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.005723, allocations: 74.75 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005724, allocations: 0 / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.00576, allocations: 8.438 kB / 0.7633 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005761, allocations: 3.938 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.005767, allocations: 6.641 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005768, allocations: 0 / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.00577, allocations: 3.938 kB / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.005865, allocations: 131.5 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-06/0.00587, allocations: 0 / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.005878, allocations: 0 / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.005932, allocations: 6.438 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.005968, allocations: 15.92 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.005971, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.219e-05/0.005984, allocations: 8.859 kB / 0.7635 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.005984, allocations: 0 / 0.7635 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002092/0.006193, allocations: 4 kB / 0.7635 GB, free: 2.934 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.829e-05/0.006281, allocations: 88.39 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.389e-05/0.006335, allocations: 16.8 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.006337, allocations: 1.031 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.006358, allocations: 12.84 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.006522, allocations: 8.984 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.006777, allocations: 133.7 kB / 0.7637 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.844e-05/0.006816, allocations: 55.36 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.006843, allocations: 7.984 kB / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.006894, allocations: 51.38 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.006894, allocations: 0.8125 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of Templates: time 0.002551/0.009445, allocations: 0.6504 MB / 0.7645 GB, free: 1.879 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.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.09511004993692]