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.001129/0.001129, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001108/0.001108, allocations: 181 kB / 23.36 MB, free: 1.133 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.9986/0.9986, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.541/2.541, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.134e-06/2.134e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.605e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001864/0.00189, allocations: 0.7017 MB / 0.8393 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.00283, allocations: 0.8353 MB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.00288, allocations: 0 / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.157e-05/0.002971, allocations: 3.938 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.436e-05/0.002996, allocations: 4 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.003098, allocations: 15.92 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.003171, allocations: 23.86 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.582e-05/0.003246, allocations: 8 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.003312, allocations: 15.92 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.651e-05/0.003358, allocations: 11.97 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.003372, allocations: 0 / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.00338, allocations: 4 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.003425, allocations: 11.94 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.003447, allocations: 7.984 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.219e-05/0.003519, allocations: 11.98 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003521, allocations: 8 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.21e-07/0.003522, allocations: 0 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003525, allocations: 0 / 0.8403 GB, free: 12.46 MB / 0.8073 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.0002808/0.003806, allocations: 244.8 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.003841, allocations: 12.03 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.003863, allocations: 0.9375 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.003968, allocations: 109.8 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.003979, allocations: 8.375 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-06/0.003984, allocations: 384 / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.004088, allocations: 58.88 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.004095, allocations: 4.188 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.004102, allocations: 4.375 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.004109, allocations: 4.375 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.874e-05/0.004128, allocations: 7.938 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.004461, allocations: 159.2 kB / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.473e-05/0.004495, allocations: 22.52 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.00451, allocations: 4.859 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.004516, allocations: 0 / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.004536, allocations: 38.62 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.004537, allocations: 4 kB / 0.8409 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 9.92e-05/0.004636, allocations: 33.64 kB / 0.8409 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.004664, allocations: 55.34 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.1e-05/0.004725, allocations: 110.7 kB / 0.8411 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.004735, allocations: 25.7 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.004767, allocations: 88.09 kB / 0.8412 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.004783, allocations: 7.938 kB / 0.8412 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.004809, allocations: 13.7 kB / 0.8412 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.004883, allocations: 310.8 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-06/0.004892, allocations: 4 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-06/0.0049, allocations: 4.125 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/0.004921, allocations: 11.69 kB / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.004923, allocations: 0 / 0.8415 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.258e-05/0.004975, allocations: 37.62 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.004986, allocations: 4 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.004992, allocations: 3.938 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.005003, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.005054, allocations: 4 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-06/0.005056, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.005074, allocations: 12.03 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.005078, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 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.507e-05/0.005133, allocations: 120.6 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.005151, allocations: 0 / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.005171, allocations: 11.09 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005173, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.005174, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.005176, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.005278, allocations: 81.83 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.005279, allocations: 0 / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.005296, allocations: 4 kB / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.005297, allocations: 4 kB / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-06/0.005301, allocations: 0 / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.005302, allocations: 0 / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.005304, allocations: 3.938 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.189e-05/0.005386, allocations: 131.5 kB / 0.8419 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-06/0.005391, allocations: 0 / 0.8419 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-06/0.005398, allocations: 0 / 0.8419 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.005444, allocations: 4.25 kB / 0.8419 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.005471, allocations: 7.922 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.005474, allocations: 4 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.253e-05/0.005487, allocations: 12.89 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005487, allocations: 0 / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001768/0.005664, allocations: 8 kB / 0.842 GB, free: 10.48 MB / 0.8073 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.329e-05/0.005747, allocations: 80.41 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.013e-05/0.005797, allocations: 12.84 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.005799, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.005816, allocations: 12.8 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.005987, allocations: 4.125 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.006214, allocations: 119.4 kB / 0.8422 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.38e-05/0.006248, allocations: 59.34 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.006265, allocations: 0 / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.006305, allocations: 51.38 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.006305, allocations: 0 / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.002011/0.008317, allocations: 458.3 kB / 0.8427 GB, free: 9.652 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.394634186755866]