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.001011/0.001011, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00117/0.00117, allocations: 165 kB / 24.16 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 1.058/1.058, 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 2.085/2.085, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.895e-06/2.895e-06, allocations: 0 / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/3.028e-05, allocations: 5.406 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001671/0.001701, allocations: 0.7289 MB / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.002596, allocations: 0.8799 MB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.00264, allocations: 4.906 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.307e-05/0.002733, allocations: 1.531 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.271e-05/0.002765, allocations: 9.547 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.002908, allocations: 15.98 kB / 0.7617 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.00298, allocations: 37.58 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.641e-05/0.003056, allocations: 7.938 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.532e-05/0.003122, allocations: 22.52 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.003177, allocations: 13.14 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.003196, allocations: 4.984 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.003204, allocations: 0 / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.00326, allocations: 17.5 kB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.003291, allocations: 5.688 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.003395, allocations: 34.95 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003397, allocations: 1.781 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003397, allocations: 0 / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.003401, allocations: 0 / 0.7618 GB, free: 4.848 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.0003104/0.003712, allocations: 240.9 kB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.003747, allocations: 8.797 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.003778, allocations: 10.16 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.003895, allocations: 113.8 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.00391, allocations: 384 / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.003917, allocations: 5.219 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.004039, allocations: 66.88 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004046, allocations: 2.094 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.004054, allocations: 384 / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.004059, allocations: 1.125 kB / 0.7622 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.004088, allocations: 11.94 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.004345, allocations: 171.6 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.125e-05/0.004396, allocations: 27.33 kB / 0.7624 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.004414, allocations: 10.3 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.004426, allocations: 0 / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.004447, allocations: 38.55 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.004448, allocations: 0 / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001069/0.004555, allocations: 39.05 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.004586, allocations: 58.06 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.00465, allocations: 110.8 kB / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.004659, allocations: 25.7 kB / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.004699, allocations: 92.69 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.004715, allocations: 11.94 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.004742, allocations: 21.7 kB / 0.7628 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.004817, allocations: 310.8 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-06/0.004827, allocations: 6.438 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.004835, allocations: 0 / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/0.004866, allocations: 19.67 kB / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.004867, allocations: 0 / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.431e-05/0.004912, allocations: 43.41 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.004924, allocations: 7.938 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.004927, allocations: 0 / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.004937, allocations: 4 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/0.004997, allocations: 9.031 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.005001, allocations: 0 / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.005019, allocations: 3.984 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.005022, allocations: 1.062 kB / 0.7632 GB, free: 3.262 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 5.498e-05/0.005077, allocations: 116.7 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.005092, allocations: 1.438 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.005108, allocations: 11.25 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.005109, allocations: 0 / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.005111, allocations: 0 / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.005113, allocations: 2.75 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.739e-05/0.005201, allocations: 69.88 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005202, allocations: 4 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.005226, allocations: 7.984 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.005227, allocations: 0 / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.00523, allocations: 0 / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005231, allocations: 0 / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.005233, allocations: 6.156 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.841e-05/0.005311, allocations: 143.5 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-06/0.005316, allocations: 0 / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.005324, allocations: 0 / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.005355, allocations: 4 kB / 0.7635 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.005389, allocations: 14.33 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.005392, allocations: 0 / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.224e-05/0.005404, allocations: 16.84 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005404, allocations: 3.938 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001163/0.00552, allocations: 4 kB / 0.7636 GB, free: 2.828 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 6.855e-05/0.005589, allocations: 77.3 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.041e-05/0.005639, allocations: 13.36 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.005641, allocations: 0 / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.005658, allocations: 17.59 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.005776, allocations: 4.594 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002077/0.005983, allocations: 138 kB / 0.7638 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.006013, allocations: 59.34 kB / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.054e-05/0.006034, allocations: 5.125 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.006081, allocations: 55.38 kB / 0.7639 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.006082, allocations: 0 / 0.7639 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of Templates: time 0.002077/0.008158, allocations: 0.6422 MB / 0.7646 GB, free: 1.785 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 -s gbode -gbm=radauIIA3 -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.290994834154844]