Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.00145/0.00145, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.00165/0.00165, allocations: 181 kB / 24.08 MB, free: 424 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.9395/0.9395, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.951/1.951, allocations: 377.9 MB / 0.624 GB, free: 8.387 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.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.812 GB, free: 364 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.08e-05, allocations: 4.25 kB / 0.812 GB, free: 360 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002332/0.002353, allocations: 1.27 MB / 0.8132 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.003241, allocations: 421.3 kB / 0.8136 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.003278, allocations: 0 / 0.8136 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.275e-05/0.00336, allocations: 5.625 kB / 0.8136 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.724e-05/0.003388, allocations: 0.875 kB / 0.8136 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.003931, allocations: 123.1 kB / 0.8137 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.004023, allocations: 19.92 kB / 0.8137 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.004069, allocations: 5.688 kB / 0.8138 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.004115, allocations: 7.984 kB / 0.8138 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.447e-05/0.00415, allocations: 15.92 kB / 0.8138 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.004168, allocations: 4 kB / 0.8138 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.004457, allocations: 133.2 kB / 0.8139 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.004501, allocations: 19.94 kB / 0.8139 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.004525, allocations: 11.92 kB / 0.8139 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.004748, allocations: 139.5 kB / 0.8141 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00475, allocations: 0.5312 kB / 0.8141 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004751, allocations: 3.938 kB / 0.8141 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004755, allocations: 1 kB / 0.8141 GB, free: 14.2 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004578/0.005213, allocations: 466.4 kB / 0.8145 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.005272, allocations: 17.61 kB / 0.8145 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.005362, allocations: 12.84 kB / 0.8145 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.005461, allocations: 128.4 kB / 0.8147 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.005478, allocations: 4.375 kB / 0.8147 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.005489, allocations: 6.969 kB / 0.8147 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.005604, allocations: 81.55 kB / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.005611, allocations: 192 / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.005618, allocations: 384 / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.005624, allocations: 384 / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.214e-05/0.005656, allocations: 32.67 kB / 0.8148 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.005776, allocations: 105.2 kB / 0.8149 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.005881, allocations: 55.52 kB / 0.8149 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.005914, allocations: 32.41 kB / 0.815 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.005922, allocations: 0 / 0.815 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.006056, allocations: 109.2 kB / 0.8151 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.383e-06/0.006057, allocations: 0 / 0.8151 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0003979/0.006455, allocations: 297.8 kB / 0.8154 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.006513, allocations: 87.31 kB / 0.8154 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.00662, allocations: 182.3 kB / 0.8156 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.006659, allocations: 49.69 kB / 0.8157 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.006777, allocations: 132.1 kB / 0.8158 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/0.006875, allocations: 108 kB / 0.8159 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.006986, allocations: 103.3 kB / 0.816 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.007147, allocations: 0.5167 MB / 0.8165 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/0.007207, allocations: 44.62 kB / 0.8165 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.007335, allocations: 142.2 kB / 0.8167 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.007567, allocations: 217.5 kB / 0.8169 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.00757, allocations: 0 / 0.8169 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003611/0.007931, allocations: 303 kB / 0.8172 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.007947, allocations: 8 kB / 0.8172 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.007955, allocations: 1.125 kB / 0.8172 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.007971, allocations: 4 kB / 0.8172 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.008185, allocations: 68.8 kB / 0.8173 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.008191, allocations: 4 kB / 0.8173 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.008256, allocations: 39.67 kB / 0.8173 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.008269, allocations: 4.844 kB / 0.8173 GB, free: 10.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 1 * 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 0.000143/0.008412, allocations: 218.9 kB / 0.8175 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.008429, allocations: 12.41 kB / 0.8175 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.008794, allocations: 5.844 kB / 0.8175 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.008797, allocations: 4.031 kB / 0.8175 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.008802, allocations: 5.656 kB / 0.8175 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.008805, allocations: 0 / 0.8175 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.785e-05/0.008903, allocations: 120.8 kB / 0.8177 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.008906, allocations: 4 kB / 0.8177 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.008918, allocations: 0.6562 kB / 0.8177 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.00892, allocations: 0.5 kB / 0.8177 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.008925, allocations: 0 / 0.8177 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.008928, allocations: 7.688 kB / 0.8177 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.008929, allocations: 3.938 kB / 0.8177 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.009236, allocations: 282.7 kB / 0.8179 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.009251, allocations: 15.84 kB / 0.818 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.009279, allocations: 23.98 kB / 0.818 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.715e-05/0.009297, allocations: 4 kB / 0.818 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.009313, allocations: 0 / 0.818 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.009318, allocations: 0 / 0.818 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.00936, allocations: 127.2 kB / 0.8181 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.00936, allocations: 0 / 0.8181 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003/0.00966, allocations: 53.56 kB / 0.8182 GB, free: 9.742 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.0003646/0.01002, allocations: 228.7 kB / 0.8184 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.01024, allocations: 159.9 kB / 0.8185 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01024, allocations: 0 / 0.8185 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.948e-05/0.01029, allocations: 51.61 kB / 0.8186 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.01045, allocations: 11.92 kB / 0.8186 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.01075, allocations: 239.4 kB / 0.8188 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.819e-05/0.0108, allocations: 73.47 kB / 0.8189 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.01083, allocations: 12.64 kB / 0.8189 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.01088, allocations: 80.8 kB / 0.819 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.01088, allocations: 0 / 0.819 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of Templates: time 0.004316/0.0152, allocations: 1.815 MB / 0.8207 GB, free: 7.059 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.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.011708615813404]