Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001258/0.001258, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001234/0.001234, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.034/1.034, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.876/1.876, allocations: 359 MB / 0.6052 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.484e-05, allocations: 14.03 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001325/0.00135, allocations: 0.6718 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.002327, allocations: 0.8756 MB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.002379, allocations: 0.75 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.00251, allocations: 3.938 kB / 0.7886 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.747e-05/0.002537, allocations: 8.688 kB / 0.7886 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.002749, allocations: 23.91 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.523e-05/0.002834, allocations: 28.48 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.002955, allocations: 16.55 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.003029, allocations: 19.98 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.003099, allocations: 13.38 kB / 0.7887 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.003124, allocations: 4 kB / 0.7887 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.003134, allocations: 0 / 0.7887 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.003196, allocations: 11.94 kB / 0.7887 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.003232, allocations: 13.02 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.003342, allocations: 31.89 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003344, allocations: 0 / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/0.003346, allocations: 1.25 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.003351, allocations: 0 / 0.7888 GB, free: 10.71 MB / 0.7448 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.0004623/0.003813, allocations: 368.6 kB / 0.7891 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.003865, allocations: 9.469 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.003915, allocations: 4.938 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.004079, allocations: 120.5 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.004101, allocations: 5.531 kB / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.004118, allocations: 4.375 kB / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.004296, allocations: 62.94 kB / 0.7893 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.004306, allocations: 1.125 kB / 0.7893 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.004321, allocations: 4.359 kB / 0.7893 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.004333, allocations: 4.375 kB / 0.7893 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.004377, allocations: 13.02 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.004767, allocations: 275.6 kB / 0.7896 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.392e-05/0.004841, allocations: 36.64 kB / 0.7897 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.00487, allocations: 11.75 kB / 0.7897 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.004891, allocations: 3.938 kB / 0.7897 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.00492, allocations: 42.61 kB / 0.7897 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.004921, allocations: 0 / 0.7897 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.005087, allocations: 44.66 kB / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.005123, allocations: 59.34 kB / 0.7898 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.00521, allocations: 165.9 kB / 0.79 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.005222, allocations: 25.7 kB / 0.79 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.005284, allocations: 142.9 kB / 0.7901 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.005299, allocations: 0 / 0.7901 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.005331, allocations: 23.36 kB / 0.7902 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.005475, allocations: 496.1 kB / 0.7906 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.005493, allocations: 4.719 kB / 0.7906 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.005508, allocations: 5.656 kB / 0.7906 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.005539, allocations: 15.62 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.005542, allocations: 0 / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.747e-05/0.00561, allocations: 55.33 kB / 0.7907 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.005622, allocations: 4 kB / 0.7907 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.005628, allocations: 0 / 0.7907 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.005647, allocations: 0 / 0.7907 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.005734, allocations: 7.984 kB / 0.7907 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.00574, allocations: 1.188 kB / 0.7907 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.005759, allocations: 4 kB / 0.7907 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.005764, allocations: 0 / 0.7907 GB, free: 8.535 MB / 0.7448 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 8.384e-05/0.005848, allocations: 162.1 kB / 0.7909 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.005863, allocations: 7.875 kB / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.005894, allocations: 7.297 kB / 0.7909 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005896, allocations: 5.688 kB / 0.7909 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.005901, allocations: 0 / 0.7909 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.005905, allocations: 0 / 0.7909 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.006008, allocations: 116.6 kB / 0.791 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.006009, allocations: 4 kB / 0.791 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.006032, allocations: 4.906 kB / 0.791 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006035, allocations: 7.875 kB / 0.791 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.006042, allocations: 0.5312 kB / 0.791 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.006043, allocations: 0.6875 kB / 0.791 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006043, allocations: 0 / 0.791 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.006158, allocations: 192.4 kB / 0.7912 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.006165, allocations: 5.312 kB / 0.7912 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.006177, allocations: 7.922 kB / 0.7912 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.946e-05/0.006206, allocations: 0 / 0.7912 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.006261, allocations: 12.52 kB / 0.7912 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.006265, allocations: 4.188 kB / 0.7912 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.006304, allocations: 128.6 kB / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006304, allocations: 0 / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001395/0.006444, allocations: 8 kB / 0.7914 GB, free: 7.816 MB / 0.7448 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.043e-05/0.006524, allocations: 96.41 kB / 0.7915 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.334e-05/0.006617, allocations: 20.8 kB / 0.7915 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006619, allocations: 0 / 0.7915 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.006643, allocations: 16.5 kB / 0.7915 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.006839, allocations: 11.98 kB / 0.7915 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.007158, allocations: 132.4 kB / 0.7916 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.246e-05/0.0072, allocations: 55.36 kB / 0.7917 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.007232, allocations: 4.859 kB / 0.7917 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.00727, allocations: 12.5 kB / 0.7917 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.00727, allocations: 2.062 kB / 0.7917 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.002432/0.009702, allocations: 0.6675 MB / 0.7924 GB, free: 6.773 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.661559924017638]