Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009654/0.0009654, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009986/0.0009986, allocations: 169 kB / 24.06 MB, free: 456 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.9347/0.9347, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.075/2.075, allocations: 429.5 MB / 0.6743 GB, free: 3.898 MB / 0.6355 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.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.252e-05, allocations: 3.188 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001873/0.001895, allocations: 1.283 MB / 0.8806 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007402/0.002635, allocations: 417.2 kB / 0.881 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.002674, allocations: 0.5938 kB / 0.881 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.002778, allocations: 3.938 kB / 0.881 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.915e-05/0.002807, allocations: 2.5 kB / 0.881 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.003287, allocations: 121.2 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.003368, allocations: 15.97 kB / 0.8811 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.003409, allocations: 8.594 kB / 0.8812 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.201e-05/0.003451, allocations: 11.98 kB / 0.8812 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.936e-05/0.003481, allocations: 13.22 kB / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.003496, allocations: 0 / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.003696, allocations: 135.7 kB / 0.8813 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.003739, allocations: 24.86 kB / 0.8813 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.003761, allocations: 7.938 kB / 0.8813 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.003946, allocations: 139.5 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003948, allocations: 1.031 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003949, allocations: 0 / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.003953, allocations: 0 / 0.8815 GB, free: 3.891 MB / 0.8386 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.0004488/0.004402, allocations: 483.7 kB / 0.8819 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.004445, allocations: 12.03 kB / 0.8819 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.737e-05/0.004532, allocations: 13.97 kB / 0.882 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.004638, allocations: 116.5 kB / 0.8821 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.004656, allocations: 4.375 kB / 0.8821 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.004663, allocations: 1.375 kB / 0.8821 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.004773, allocations: 77.84 kB / 0.8821 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.004782, allocations: 4.188 kB / 0.8822 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.00479, allocations: 7.797 kB / 0.8822 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.004796, allocations: 384 / 0.8822 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.004821, allocations: 23.94 kB / 0.8822 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.004948, allocations: 117 kB / 0.8823 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.776e-05/0.005016, allocations: 54.98 kB / 0.8823 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.005043, allocations: 32.28 kB / 0.8824 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.005049, allocations: 0 / 0.8824 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.005165, allocations: 105.7 kB / 0.8825 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 6.51e-07/0.005166, allocations: 0 / 0.8825 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0003624/0.005528, allocations: 301.8 kB / 0.8828 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.005592, allocations: 91.56 kB / 0.8829 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.00569, allocations: 179.3 kB / 0.883 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.005722, allocations: 53.67 kB / 0.8831 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.00577, allocations: 127.5 kB / 0.8832 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.005849, allocations: 111.2 kB / 0.8833 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.477e-05/0.005934, allocations: 104.5 kB / 0.8834 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.0061, allocations: 0.5156 MB / 0.8839 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.006145, allocations: 40.64 kB / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.006258, allocations: 143.6 kB / 0.8841 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.006434, allocations: 218.3 kB / 0.8843 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006436, allocations: 0 / 0.8843 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002662/0.006702, allocations: 299 kB / 0.8846 GB, free: 476 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.006716, allocations: 8 kB / 0.8846 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.006723, allocations: 0 / 0.8846 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.006737, allocations: 4 kB / 0.8846 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.006898, allocations: 71.94 kB / 0.8847 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.006903, allocations: 8.156 kB / 0.8847 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.006947, allocations: 39.59 kB / 0.8847 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.00696, allocations: 12 kB / 0.8847 GB, free: 332 kB / 0.8386 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.0001359/0.007096, allocations: 212.5 kB / 0.8849 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.007111, allocations: 15.91 kB / 0.8849 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.00714, allocations: 9.312 kB / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.007141, allocations: 0 / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.007145, allocations: 256 / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.007149, allocations: 0 / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.007254, allocations: 117.1 kB / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.007256, allocations: 0 / 0.8851 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.007265, allocations: 4 kB / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.007267, allocations: 0 / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.007274, allocations: 7.875 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.007275, allocations: 0 / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007276, allocations: 4 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.007518, allocations: 289.7 kB / 0.8853 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.007531, allocations: 15.84 kB / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.007555, allocations: 19.98 kB / 0.8854 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.007564, allocations: 0 / 0.8854 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.007586, allocations: 4 kB / 0.8854 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.007591, allocations: 0 / 0.8854 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.007634, allocations: 127.2 kB / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007634, allocations: 0 / 0.8855 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002021/0.007836, allocations: 51.88 kB / 0.8856 GB, free: 15.41 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: 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.0003293/0.008166, allocations: 226.4 kB / 0.8858 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.008352, allocations: 158.6 kB / 0.8859 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.008353, allocations: 0 / 0.8859 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.958e-05/0.008393, allocations: 51.92 kB / 0.886 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.008509, allocations: 16.44 kB / 0.886 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.008791, allocations: 241 kB / 0.8862 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.008834, allocations: 71.84 kB / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.008859, allocations: 12.64 kB / 0.8863 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.008901, allocations: 78.2 kB / 0.8864 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of SimCode: time 6.12e-07/0.008902, allocations: 0 / 0.8864 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.003528/0.01243, allocations: 1.844 MB / 0.8882 GB, free: 12.7 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.6787190260365605]