Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.794/1.794, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009586/0.0009586, allocations: 185.2 kB / 487 MB, free: 5.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008779/0.0008781, allocations: 92.59 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.552e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1942, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.072/3.266, allocations: 1.922 GB / 3.127 GB, free: 406.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/3.267, allocations: 87.81 kB / 3.127 GB, free: 406.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.677/4.944, allocations: 0.8147 GB / 3.942 GB, free: 10.34 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.337e-05/4.944, allocations: 28 kB / 3.942 GB, free: 10.31 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003511/4.947, allocations: 1.597 MB / 3.944 GB, free: 8.664 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/4.947, allocations: 8.031 kB / 3.944 GB, free: 8.656 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/4.95, allocations: 461.8 kB / 3.944 GB, free: 8.203 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/4.952, allocations: 0.9141 MB / 3.945 GB, free: 7.246 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/4.952, allocations: 36 kB / 3.945 GB, free: 7.211 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/4.952, allocations: 60 kB / 3.945 GB, free: 7.152 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001296/4.953, allocations: 0.9372 MB / 3.946 GB, free: 6.215 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/4.954, allocations: 1.078 MB / 3.947 GB, free: 5.098 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/4.954, allocations: 0 / 3.947 GB, free: 5.098 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/4.955, allocations: 4 kB / 3.947 GB, free: 5.094 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/4.955, allocations: 45.89 kB / 3.947 GB, free: 5.047 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3116/5.266, allocations: 5.355 MB / 3.952 GB, free: 350.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006647/5.267, allocations: 0.5023 MB / 3.953 GB, free: 350.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007862/5.268, allocations: 0.6009 MB / 3.953 GB, free: 350.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/5.268, allocations: 0.6784 MB / 3.954 GB, free: 350 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/5.268, allocations: 46.03 kB / 3.954 GB, free: 350 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 2.775e-06/5.268, allocations: 3.188 kB / 3.954 GB, free: 350 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.004434/5.273, allocations: 2.245 MB / 3.956 GB, free: 349.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/5.273, allocations: 62.81 kB / 3.956 GB, free: 349.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/5.273, allocations: 484.9 kB / 3.957 GB, free: 349.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/5.273, allocations: 29.52 kB / 3.957 GB, free: 349.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/5.273, allocations: 352.5 kB / 3.957 GB, free: 349.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/5.273, allocations: 285.3 kB / 3.958 GB, free: 349.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/5.273, allocations: 0 / 3.958 GB, free: 349.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/5.273, allocations: 386.3 kB / 3.958 GB, free: 348.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/5.274, allocations: 359.6 kB / 3.958 GB, free: 348.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/5.274, allocations: 472.6 kB / 3.959 GB, free: 348.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/5.275, allocations: 454.1 kB / 3.959 GB, free: 348.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/5.275, allocations: 0 / 3.959 GB, free: 348.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001423/5.276, allocations: 1.024 MB / 3.96 GB, free: 348.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/5.276, allocations: 10.64 kB / 3.96 GB, free: 348.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/5.276, allocations: 3.062 kB / 3.96 GB, free: 348.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/5.277, allocations: 54.67 kB / 3.96 GB, free: 348.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/5.277, allocations: 166 kB / 3.96 GB, free: 348.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000344/5.278, allocations: 0.6293 MB / 3.961 GB, free: 348.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009594/5.279, allocations: 95.11 kB / 3.961 GB, free: 348.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/5.279, allocations: 28.7 kB / 3.961 GB, free: 348.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001297/5.279, allocations: 116.3 kB / 3.961 GB, free: 348 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/5.279, allocations: 85.88 kB / 3.961 GB, free: 347.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/5.281, allocations: 1 MB / 3.962 GB, free: 347.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/5.281, allocations: 7.688 kB / 3.962 GB, free: 347.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/5.281, allocations: 0 / 3.962 GB, free: 347.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/5.282, allocations: 0.9771 MB / 3.963 GB, free: 347.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/5.284, allocations: 2.113 MB / 3.965 GB, free: 347.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/5.284, allocations: 0 / 3.965 GB, free: 347.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000951/5.285, allocations: 205.9 kB / 3.965 GB, free: 347.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/5.285, allocations: 3.969 kB / 3.965 GB, free: 347.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/5.285, allocations: 18.05 kB / 3.965 GB, free: 347.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/5.285, allocations: 3.969 kB / 3.965 GB, free: 347.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/5.285, allocations: 5.25 kB / 3.965 GB, free: 347.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001548/5.287, allocations: 1.411 MB / 3.967 GB, free: 347.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/5.287, allocations: 255.3 kB / 3.967 GB, free: 347 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/5.287, allocations: 9.188 kB / 3.967 GB, free: 347 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/5.288, allocations: 73.02 kB / 3.967 GB, free: 347 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/5.288, allocations: 40.45 kB / 3.967 GB, free: 347 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/5.288, allocations: 28.75 kB / 3.967 GB, free: 347 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003174/5.289, allocations: 387.5 kB / 3.968 GB, free: 346.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009568/5.29, allocations: 440.8 kB / 3.968 GB, free: 346.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001838/5.291, allocations: 2.251 MB / 3.97 GB, free: 346.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001002/5.292, allocations: 0.8658 MB / 3.971 GB, free: 346.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/5.292, allocations: 6.125 kB / 3.971 GB, free: 346.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004481/5.293, allocations: 457.2 kB / 3.972 GB, free: 346.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/5.295, allocations: 493.7 kB / 3.972 GB, free: 346.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/5.297, allocations: 1.921 MB / 3.974 GB, free: 345.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007472/5.298, allocations: 1.251 MB / 3.975 GB, free: 345.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.21e-07/5.298, allocations: 0 / 3.975 GB, free: 345.1 MB / 1.151 GB Notification: Performance of Templates: time 0.03548/5.334, allocations: 30.75 MB / 4.005 GB, free: 344.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches