Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001538/0.001538, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001961/0.001961, allocations: 169.7 kB / 23.27 MB, free: 1.219 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 0.9838/0.9838, allocations: 177.1 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.358/2.358, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8897 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.521e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001079/0.001095, allocations: 0.6623 MB / 0.8904 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007184/0.001813, allocations: 0.8275 MB / 0.8912 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.001854, allocations: 7.938 kB / 0.8912 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.708e-05/0.001941, allocations: 7.922 kB / 0.8912 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.066e-05/0.001962, allocations: 7.938 kB / 0.8912 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 9.506e-05/0.002057, allocations: 11.92 kB / 0.8912 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.86e-05/0.002116, allocations: 27.92 kB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.903e-05/0.002185, allocations: 0 / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.002243, allocations: 15.98 kB / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.002288, allocations: 11.92 kB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.002301, allocations: 4 kB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-06/0.002307, allocations: 4 kB / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.002347, allocations: 7.984 kB / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.002369, allocations: 4 kB / 0.8913 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.679e-05/0.002436, allocations: 27.91 kB / 0.8913 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.002437, allocations: 0 / 0.8913 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002438, allocations: 0 / 0.8913 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.002441, allocations: 0 / 0.8913 GB, free: 8.078 MB / 0.8542 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.0002797/0.002721, allocations: 368.6 kB / 0.8917 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.002753, allocations: 8.031 kB / 0.8917 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.901e-05/0.002772, allocations: 8.891 kB / 0.8917 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.009e-05/0.002852, allocations: 112.6 kB / 0.8918 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.002861, allocations: 12.36 kB / 0.8918 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.002869, allocations: 8.312 kB / 0.8918 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.00295, allocations: 54.95 kB / 0.8919 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.002956, allocations: 192 / 0.8919 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.002961, allocations: 4.375 kB / 0.8919 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.002966, allocations: 384 / 0.8919 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.326e-05/0.002979, allocations: 7.938 kB / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.003177, allocations: 244.3 kB / 0.8921 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.031e-05/0.003207, allocations: 23.06 kB / 0.8922 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.003222, allocations: 11.75 kB / 0.8922 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.003229, allocations: 3.984 kB / 0.8922 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.003249, allocations: 33.45 kB / 0.8922 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.003249, allocations: 4 kB / 0.8922 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 9.337e-05/0.003343, allocations: 45.52 kB / 0.8922 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.003367, allocations: 55.41 kB / 0.8923 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.003434, allocations: 161.9 kB / 0.8925 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.003715, allocations: 25.7 kB / 0.8925 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.003754, allocations: 134.8 kB / 0.8926 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.003766, allocations: 3.938 kB / 0.8926 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.003788, allocations: 23.36 kB / 0.8926 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.003883, allocations: 496.1 kB / 0.8931 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.003892, allocations: 3.984 kB / 0.8931 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-06/0.003898, allocations: 4.125 kB / 0.8931 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.848e-05/0.003916, allocations: 11.69 kB / 0.8931 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.003918, allocations: 0 / 0.8931 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.628e-05/0.003954, allocations: 33.64 kB / 0.8932 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.003965, allocations: 7.938 kB / 0.8932 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.003968, allocations: 0 / 0.8932 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.003978, allocations: 4 kB / 0.8932 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.015e-05/0.004019, allocations: 0 / 0.8932 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.004022, allocations: 4 kB / 0.8932 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.004035, allocations: 8.078 kB / 0.8932 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.004039, allocations: 0 / 0.8932 GB, free: 5.988 MB / 0.8542 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.252e-05/0.004092, allocations: 156.6 kB / 0.8933 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.004102, allocations: 3.953 kB / 0.8933 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.004123, allocations: 11.09 kB / 0.8933 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.004124, allocations: 0 / 0.8933 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.004125, allocations: 0 / 0.8933 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.004127, allocations: 4 kB / 0.8933 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.598e-05/0.004203, allocations: 101.5 kB / 0.8934 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.004204, allocations: 0 / 0.8934 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.301e-05/0.004217, allocations: 12 kB / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.004218, allocations: 0 / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-06/0.004222, allocations: 0 / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-07/0.004222, allocations: 0 / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.004224, allocations: 7.922 kB / 0.8935 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.308e-05/0.004298, allocations: 183.9 kB / 0.8936 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.004302, allocations: 0 / 0.8936 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-06/0.004308, allocations: 0 / 0.8936 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.004338, allocations: 7.938 kB / 0.8936 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.004364, allocations: 11.92 kB / 0.8937 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-06/0.004365, allocations: 4.031 kB / 0.8937 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.004396, allocations: 123.2 kB / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.004396, allocations: 0 / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001274/0.004523, allocations: 4 kB / 0.8938 GB, free: 5.312 MB / 0.8542 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 6.249e-05/0.004586, allocations: 95.25 kB / 0.8939 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.786e-05/0.004634, allocations: 19.67 kB / 0.8939 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.004635, allocations: 3.938 kB / 0.8939 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.004646, allocations: 7.688 kB / 0.8939 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.004804, allocations: 8.125 kB / 0.8939 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.004991, allocations: 118.3 kB / 0.894 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.175e-05/0.005023, allocations: 59.34 kB / 0.8941 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.005036, allocations: 0 / 0.8941 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.005071, allocations: 66.2 kB / 0.8941 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of SimCode: time 3.91e-07/0.005072, allocations: 0 / 0.8941 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of Templates: time 0.001681/0.006753, allocations: 0.5004 MB / 0.8946 GB, free: 4.383 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.27657165704295]