Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conS1.T.1.|conS1.T.2.|conS1.T.3.|conS1.Q_flow.1.|conS1.Q_flow.2.|conS1.Q_flow.3.|conS1.Q_flow.4.|conS1.Q_flow.5.|conS1.Q_flow.6.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") [: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 10.0.0-master/package.mo): time 1.958/1.958, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009891/0.0009893, allocations: 181.2 kB / 490.8 MB, free: 1.941 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.278/1.278, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 76.81 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.554e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2588, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6481/0.9069, allocations: 159.6 MB / 1.367 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.9072, allocations: 76.39 kB / 1.367 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1188/1.026, allocations: 31.45 MB / 1.398 GB, free: 8.82 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001526/1.026, allocations: 19.47 kB / 1.398 GB, free: 8.816 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002847/1.029, allocations: 0.9645 MB / 1.399 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.029, allocations: 8.656 kB / 1.399 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008258/1.03, allocations: 112.8 kB / 1.399 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005016/1.035, allocations: 2.077 MB / 1.401 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/1.035, allocations: 9.562 kB / 1.401 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/1.035, allocations: 30.09 kB / 1.401 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006961/1.036, allocations: 322.2 kB / 1.402 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/1.037, allocations: 0.5153 MB / 1.402 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/1.037, allocations: 0 / 1.402 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/1.037, allocations: 0 / 1.402 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/1.037, allocations: 8 kB / 1.402 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/1.04, allocations: 3.071 MB / 1.405 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/1.041, allocations: 407.2 kB / 1.406 GB, free: 19.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/1.041, allocations: 191.9 kB / 1.406 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/1.041, allocations: 4 kB / 1.406 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/1.041, allocations: 38.19 kB / 1.406 GB, free: 19.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/1.041, allocations: 0 / 1.406 GB, free: 19.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.0008752/1.042, allocations: 0.4956 MB / 1.406 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/1.042, allocations: 55.41 kB / 1.406 GB, free: 19.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/1.044, allocations: 1.245 MB / 1.408 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/1.044, allocations: 25.7 kB / 1.408 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/1.044, allocations: 267.1 kB / 1.408 GB, free: 18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/1.044, allocations: 102.9 kB / 1.408 GB, free: 17.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/1.044, allocations: 4 kB / 1.408 GB, free: 17.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.044, allocations: 335.9 kB / 1.408 GB, free: 17.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/1.045, allocations: 284.6 kB / 1.409 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/1.045, allocations: 0.5744 MB / 1.409 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/1.045, allocations: 372.4 kB / 1.409 GB, free: 16.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/1.045, allocations: 8 kB / 1.409 GB, free: 16.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001633/1.047, allocations: 1.182 MB / 1.411 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.047, allocations: 4 kB / 1.411 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.047, allocations: 12.31 kB / 1.411 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/1.048, allocations: 453.9 kB / 1.411 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/1.049, allocations: 107.5 kB / 1.411 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005755/1.054, allocations: 4.678 MB / 1.416 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/1.056, allocations: 275 kB / 1.416 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/1.057, allocations: 31.62 kB / 1.416 GB, free: 10.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001293/1.057, allocations: 127.8 kB / 1.416 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/1.057, allocations: 90.78 kB / 1.416 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/1.057, allocations: 99.64 kB / 1.416 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.057, allocations: 4 kB / 1.416 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.057, allocations: 4 kB / 1.416 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/1.057, allocations: 3.984 kB / 1.416 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/1.059, allocations: 1.078 MB / 1.417 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.059, allocations: 4 kB / 1.417 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/1.059, allocations: 83.38 kB / 1.417 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/1.059, allocations: 54.88 kB / 1.418 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/1.059, allocations: 19.14 kB / 1.418 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/1.06, allocations: 1.432 MB / 1.419 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.06, allocations: 0 / 1.419 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009209/1.061, allocations: 0.8152 MB / 1.42 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/1.062, allocations: 0.9518 MB / 1.421 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/1.063, allocations: 15.17 kB / 1.421 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.064, allocations: 127.8 kB / 1.421 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/1.064, allocations: 18.75 kB / 1.421 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/1.064, allocations: 6.75 kB / 1.421 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001227/1.065, allocations: 0.9244 MB / 1.422 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001494/1.066, allocations: 0.5616 MB / 1.422 GB, free: 5.082 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004071/1.067, allocations: 219.1 kB / 1.422 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001607/1.068, allocations: 0.8421 MB / 1.423 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.068, allocations: 0 / 1.423 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/1.069, allocations: 302.9 kB / 1.424 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.07, allocations: 256.1 kB / 1.424 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/1.073, allocations: 2.01 MB / 1.426 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.074, allocations: 1.225 MB / 1.427 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of SimCode: time 6.72e-07/1.074, allocations: 7.938 kB / 1.427 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of Templates: time 0.02336/1.098, allocations: 12.13 MB / 1.439 GB, free: 4.82 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorInitialization.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches