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.001168/0.001168, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001096/0.001096, allocations: 169.3 kB / 24.28 MB, free: 280 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.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.882/1.882, allocations: 377.8 MB / 0.6239 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 1.863e-06/1.863e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.678e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001149/0.001166, allocations: 0.668 MB / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007117/0.001878, allocations: 0.8324 MB / 0.813 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.001919, allocations: 0 / 0.813 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.245e-05/0.002012, allocations: 8.656 kB / 0.813 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 1.999e-05/0.002032, allocations: 0 / 0.813 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.00214, allocations: 13.62 kB / 0.813 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.636e-05/0.002207, allocations: 23.92 kB / 0.813 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/0.002293, allocations: 11.97 kB / 0.813 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.00235, allocations: 8 kB / 0.8131 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.002398, allocations: 15.92 kB / 0.8131 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.002416, allocations: 1.531 kB / 0.8131 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-06/0.002422, allocations: 4 kB / 0.8131 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.00247, allocations: 7.984 kB / 0.8131 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.002496, allocations: 4 kB / 0.8131 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.002569, allocations: 24.36 kB / 0.8131 GB, free: 488 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.002571, allocations: 5.594 kB / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002572, allocations: 0 / 0.8131 GB, free: 484 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.002575, allocations: 0 / 0.8131 GB, free: 484 kB / 0.7605 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.0003179/0.002893, allocations: 364.6 kB / 0.8135 GB, free: 80 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.002935, allocations: 12.91 kB / 0.8135 GB, free: 68 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.002965, allocations: 0.9375 kB / 0.8135 GB, free: 68 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.003087, allocations: 125.3 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.003096, allocations: 4.375 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.003104, allocations: 0.9688 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.003215, allocations: 54.95 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/0.00322, allocations: 0.7812 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.003228, allocations: 5.156 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.003235, allocations: 384 / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.003257, allocations: 13 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.003507, allocations: 259.8 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.99e-05/0.003547, allocations: 32.5 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.003566, allocations: 11.62 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-06/0.003573, allocations: 0 / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.003593, allocations: 37.33 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.003594, allocations: 5.688 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001975/0.003792, allocations: 33.77 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.003822, allocations: 51.41 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.003901, allocations: 161.9 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.00391, allocations: 26.55 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.003963, allocations: 138.8 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.003979, allocations: 0.6875 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.004006, allocations: 19.38 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.004124, allocations: 496.7 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.004139, allocations: 4.5 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-06/0.004149, allocations: 0.5625 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.004177, allocations: 17.06 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.00418, allocations: 0 / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.725e-05/0.004237, allocations: 37.59 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.004251, allocations: 10.56 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.004256, allocations: 0 / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.00427, allocations: 0 / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.004335, allocations: 7.984 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.004341, allocations: 0 / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.004359, allocations: 8.188 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.004365, allocations: 7.938 kB / 0.815 GB, free: 14.37 MB / 0.7761 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 6.553e-05/0.004431, allocations: 153.1 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.004444, allocations: 4.656 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.004469, allocations: 15.14 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.004471, allocations: 0.5312 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.004476, allocations: 1.625 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.00448, allocations: 0 / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.029e-05/0.00457, allocations: 108.6 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.004572, allocations: 3.984 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.004587, allocations: 4.75 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004588, allocations: 0 / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.004598, allocations: 8.938 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.004599, allocations: 4 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.0046, allocations: 0 / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.835e-05/0.004688, allocations: 181.1 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.004695, allocations: 3.953 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.004706, allocations: 8.719 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.912e-05/0.004735, allocations: 7.938 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.004784, allocations: 6.203 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.004787, allocations: 0 / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.004828, allocations: 131.2 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004828, allocations: 0 / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001403/0.004968, allocations: 4 kB / 0.8156 GB, free: 13.68 MB / 0.7761 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 8.599e-05/0.005054, allocations: 98.09 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.765e-05/0.005132, allocations: 11.69 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.005133, allocations: 0 / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.005147, allocations: 7.688 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.00535, allocations: 14.05 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.005662, allocations: 119.9 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.005706, allocations: 55.36 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.005733, allocations: 4.609 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.00576, allocations: 12.5 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.005761, allocations: 1.062 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.001937/0.007698, allocations: 463.2 kB / 0.8163 GB, free: 12.87 MB / 0.7761 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.198299209121615]