Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [: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 2.11/2.11, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001502/0.001502, allocations: 189.2 kB / 487 MB, free: 5.34 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.489/1.489, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.0009986/0.0009986, allocations: 88.64 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.071e-05/1.074e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2991, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.448/4.747, allocations: 1.938 GB / 3.143 GB, free: 384.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/4.747, allocations: 83.94 kB / 3.143 GB, free: 384.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.5948/5.342, allocations: 322 MB / 3.457 GB, free: 57.31 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001368/5.342, allocations: 51.98 kB / 3.457 GB, free: 57.26 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003434/5.346, allocations: 2.169 MB / 3.46 GB, free: 55.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/5.346, allocations: 9.031 kB / 3.46 GB, free: 55.03 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003624/5.35, allocations: 0.59 MB / 3.46 GB, free: 54.43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/5.353, allocations: 2.259 MB / 3.462 GB, free: 52.12 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/5.353, allocations: 55.91 kB / 3.462 GB, free: 52.07 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/5.353, allocations: 96 kB / 3.463 GB, free: 51.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002571/5.356, allocations: 1.884 MB / 3.464 GB, free: 50.09 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/5.358, allocations: 1.593 MB / 3.466 GB, free: 48.45 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/5.358, allocations: 0 / 3.466 GB, free: 48.45 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/5.358, allocations: 7.984 kB / 3.466 GB, free: 48.44 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/5.358, allocations: 40 kB / 3.466 GB, free: 48.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008932/5.367, allocations: 6.073 MB / 3.472 GB, free: 42.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/5.369, allocations: 1.826 MB / 3.474 GB, free: 40.24 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007436/5.37, allocations: 0.6674 MB / 3.474 GB, free: 39.57 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/5.37, allocations: 0.7482 MB / 3.475 GB, free: 38.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/5.372, allocations: 0.8582 MB / 3.476 GB, free: 37.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.186e-06/5.372, allocations: 4 kB / 3.476 GB, free: 37.79 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003486/5.375, allocations: 1.597 MB / 3.477 GB, free: 36.17 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/5.375, allocations: 248.6 kB / 3.478 GB, free: 35.88 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/5.378, allocations: 2.375 MB / 3.48 GB, free: 33.49 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/5.378, allocations: 29.7 kB / 3.48 GB, free: 33.45 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/5.378, allocations: 0.5732 MB / 3.481 GB, free: 32.87 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/5.378, allocations: 445.2 kB / 3.481 GB, free: 32.43 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/5.379, allocations: 0 / 3.481 GB, free: 32.43 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.301e-05/5.379, allocations: 349.9 kB / 3.481 GB, free: 32.08 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/5.379, allocations: 486.5 kB / 3.482 GB, free: 31.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/5.38, allocations: 0.6943 MB / 3.483 GB, free: 30.84 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/5.381, allocations: 0.5658 MB / 3.483 GB, free: 30.28 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/5.381, allocations: 0 / 3.483 GB, free: 30.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002723/5.384, allocations: 1.543 MB / 3.485 GB, free: 28.71 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/5.384, allocations: 4 kB / 3.485 GB, free: 28.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/5.384, allocations: 4 kB / 3.485 GB, free: 28.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009583/5.385, allocations: 200.2 kB / 3.485 GB, free: 28.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/5.386, allocations: 319.5 kB / 3.485 GB, free: 28.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/5.39, allocations: 6.505 MB / 3.491 GB, free: 21.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/5.391, allocations: 131.3 kB / 3.492 GB, free: 20.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/5.392, allocations: 64.2 kB / 3.492 GB, free: 20.89 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002716/5.392, allocations: 144.6 kB / 3.492 GB, free: 20.75 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/5.392, allocations: 173.8 kB / 3.492 GB, free: 20.57 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/5.396, allocations: 2.016 MB / 3.494 GB, free: 18.53 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/5.396, allocations: 16 kB / 3.494 GB, free: 18.52 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/5.396, allocations: 0 / 3.494 GB, free: 18.52 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/5.396, allocations: 7.969 kB / 3.494 GB, free: 18.51 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/5.402, allocations: 3.875 MB / 3.498 GB, free: 14.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/5.402, allocations: 0 / 3.498 GB, free: 14.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/5.403, allocations: 331.6 kB / 3.498 GB, free: 14.24 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009222/5.404, allocations: 208.1 kB / 3.498 GB, free: 14.02 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.944e-05/5.404, allocations: 23.97 kB / 3.498 GB, free: 14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/5.408, allocations: 6.537 MB / 3.505 GB, free: 6.883 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/5.408, allocations: 3.906 kB / 3.505 GB, free: 6.879 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00326/5.412, allocations: 1.722 MB / 3.506 GB, free: 5.125 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/5.413, allocations: 0.6661 MB / 3.507 GB, free: 4.438 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/5.413, allocations: 8 kB / 3.507 GB, free: 4.43 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/5.415, allocations: 115.7 kB / 3.507 GB, free: 4.316 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/5.415, allocations: 85.17 kB / 3.507 GB, free: 4.234 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/5.415, allocations: 88.12 kB / 3.507 GB, free: 4.148 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002069/5.417, allocations: 1.832 MB / 3.509 GB, free: 2.32 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002722/5.42, allocations: 0.7637 MB / 3.51 GB, free: 1.555 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.3905/5.81, allocations: 1.732 MB / 3.511 GB, free: 437.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002753/5.813, allocations: 1.703 MB / 3.513 GB, free: 437.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/5.813, allocations: 4.438 kB / 3.513 GB, free: 437.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/5.815, allocations: 1.214 MB / 3.514 GB, free: 436.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/5.817, allocations: 410.2 kB / 3.515 GB, free: 436.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007076/5.824, allocations: 3.02 MB / 3.518 GB, free: 436.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002116/5.826, allocations: 1.868 MB / 3.519 GB, free: 435.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.734e-06/5.826, allocations: 3.172 kB / 3.519 GB, free: 435.5 MB / 1.151 GB Notification: Performance of Templates: time 0.05739/5.884, allocations: 39.13 MB / 3.558 GB, free: 434.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches