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.0009507/0.0009507, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001044/0.001044, allocations: 181 kB / 24.09 MB, free: 420 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 0.9784/0.9784, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.986/1.986, allocations: 377.9 MB / 0.6239 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 177] 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 3.336e-06/3.336e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.807e-05, allocations: 3.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001572/0.0016, allocations: 0.6614 MB / 0.8126 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008684/0.002469, allocations: 0.8314 MB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.002523, allocations: 0.625 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.002627, allocations: 3.938 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.85e-05/0.002655, allocations: 13.33 kB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.00276, allocations: 11.92 kB / 0.8135 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.425e-05/0.002825, allocations: 27.92 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.002912, allocations: 0.8438 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/0.002984, allocations: 11.98 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.003038, allocations: 12.55 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.868e-05/0.003056, allocations: 4 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.502e-06/0.003063, allocations: 4.625 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.003109, allocations: 8 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.003135, allocations: 8.891 kB / 0.8136 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.193e-05/0.003207, allocations: 23.91 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003209, allocations: 0.6562 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.603e-06/0.00321, allocations: 0 / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.003216, allocations: 0.875 kB / 0.8136 GB, free: 15.83 MB / 0.7761 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.0003431/0.003559, allocations: 360.6 kB / 0.8139 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.003597, allocations: 17.22 kB / 0.8139 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.003624, allocations: 8.938 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.003729, allocations: 120.5 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.00374, allocations: 6 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-06/0.003746, allocations: 384 / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.00385, allocations: 50.95 kB / 0.8141 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.003859, allocations: 4.188 kB / 0.8141 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.003866, allocations: 1.719 kB / 0.8141 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.003872, allocations: 384 / 0.8141 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.00389, allocations: 15.92 kB / 0.8141 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.004137, allocations: 241.9 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.614e-05/0.004173, allocations: 23.06 kB / 0.8144 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.004187, allocations: 7.688 kB / 0.8144 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-06/0.004193, allocations: 64 / 0.8144 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.004216, allocations: 42.16 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.004217, allocations: 0 / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.000102/0.004319, allocations: 42.58 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.004349, allocations: 51.41 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.004417, allocations: 162.6 kB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.004427, allocations: 26.92 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.004468, allocations: 130.8 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.004485, allocations: 3.984 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.004512, allocations: 27.36 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002976/0.004809, allocations: 496.7 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-06/0.004818, allocations: 1.125 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.004825, allocations: 4 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.004849, allocations: 12.47 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.00485, allocations: 0 / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.861e-05/0.004899, allocations: 38.28 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.004912, allocations: 7.938 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004916, allocations: 1.188 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.004929, allocations: 3.984 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.004984, allocations: 5.812 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.004986, allocations: 0 / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.005003, allocations: 11.92 kB / 0.8154 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.005007, allocations: 0 / 0.8154 GB, free: 13.75 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 5.695e-05/0.005064, allocations: 152.6 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.005076, allocations: 7.438 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.005099, allocations: 15.08 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005101, allocations: 256 / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.005103, allocations: 0 / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.005106, allocations: 4 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.869e-05/0.005195, allocations: 101.2 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005196, allocations: 0 / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.005213, allocations: 7.984 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005214, allocations: 0 / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.00522, allocations: 4.562 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005221, allocations: 0.5 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.005223, allocations: 3.938 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.225e-05/0.005315, allocations: 176.5 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.005321, allocations: 4.516 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.005328, allocations: 5.391 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.922e-05/0.005357, allocations: 4 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.005385, allocations: 7.938 kB / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.005387, allocations: 0 / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.005421, allocations: 127.7 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005421, allocations: 0.625 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001292/0.00555, allocations: 4 kB / 0.816 GB, free: 13.09 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.286e-05/0.005633, allocations: 101.2 kB / 0.8161 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.54e-05/0.005688, allocations: 15.62 kB / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.00569, allocations: 0 / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/0.005702, allocations: 8.25 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.005882, allocations: 8.75 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.006118, allocations: 122 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.006155, allocations: 60.69 kB / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.536e-05/0.00617, allocations: 0 / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.006221, allocations: 66.2 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.006222, allocations: 0.875 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.002062/0.008284, allocations: 0.4908 MB / 0.8169 GB, free: 12.19 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.160304557997733]