Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.067/2.067, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001135/0.001135, allocations: 177.2 kB / 490.8 MB, free: 1.961 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.487/1.487, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.001137/0.001137, allocations: 91.19 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.628e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3049, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.349/4.654, allocations: 1.938 GB / 3.15 GB, free: 395.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/4.655, allocations: 91.64 kB / 3.15 GB, free: 395.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6247/5.28, allocations: 322 MB / 3.465 GB, free: 68.15 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002493/5.28, allocations: 51.94 kB / 3.465 GB, free: 68.1 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.004869/5.285, allocations: 2.169 MB / 3.467 GB, free: 65.88 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/5.285, allocations: 8.031 kB / 3.467 GB, free: 65.87 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/5.289, allocations: 0.5862 MB / 3.467 GB, free: 65.28 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00385/5.293, allocations: 2.255 MB / 3.47 GB, free: 62.97 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/5.293, allocations: 56 kB / 3.47 GB, free: 62.92 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003846/5.293, allocations: 96 kB / 3.47 GB, free: 62.82 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003088/5.296, allocations: 1.884 MB / 3.471 GB, free: 60.94 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/5.299, allocations: 1.597 MB / 3.473 GB, free: 59.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/5.299, allocations: 4 kB / 3.473 GB, free: 59.29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/5.3, allocations: 0 / 3.473 GB, free: 59.29 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/5.3, allocations: 40 kB / 3.473 GB, free: 59.25 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/5.31, allocations: 6.087 MB / 3.479 GB, free: 52.98 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/5.312, allocations: 1.822 MB / 3.481 GB, free: 51.09 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/5.313, allocations: 0.6674 MB / 3.481 GB, free: 50.41 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/5.313, allocations: 0.7403 MB / 3.482 GB, free: 49.52 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/5.315, allocations: 0.862 MB / 3.483 GB, free: 48.64 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 4.047e-06/5.315, allocations: 0 / 3.483 GB, free: 48.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003826/5.318, allocations: 1.601 MB / 3.485 GB, free: 47.02 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/5.319, allocations: 248.6 kB / 3.485 GB, free: 46.72 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/5.322, allocations: 2.372 MB / 3.487 GB, free: 44.34 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/5.322, allocations: 33.7 kB / 3.487 GB, free: 44.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/5.322, allocations: 0.577 MB / 3.488 GB, free: 43.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/5.323, allocations: 445.2 kB / 3.488 GB, free: 43.27 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/5.323, allocations: 4 kB / 3.488 GB, free: 43.27 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.269e-05/5.323, allocations: 341.9 kB / 3.488 GB, free: 42.93 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/5.323, allocations: 490.4 kB / 3.489 GB, free: 42.45 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/5.324, allocations: 0.6904 MB / 3.49 GB, free: 41.69 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/5.325, allocations: 0.5735 MB / 3.49 GB, free: 41.12 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/5.325, allocations: 0 / 3.49 GB, free: 41.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002969/5.328, allocations: 1.531 MB / 3.492 GB, free: 39.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/5.328, allocations: 4 kB / 3.492 GB, free: 39.56 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/5.328, allocations: 7.984 kB / 3.492 GB, free: 39.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009895/5.329, allocations: 208.2 kB / 3.492 GB, free: 39.33 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/5.331, allocations: 315.6 kB / 3.492 GB, free: 39.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/5.335, allocations: 6.502 MB / 3.499 GB, free: 31.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/5.336, allocations: 135.2 kB / 3.499 GB, free: 31.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/5.336, allocations: 67.95 kB / 3.499 GB, free: 31.73 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.0003061/5.336, allocations: 133.8 kB / 3.499 GB, free: 31.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/5.337, allocations: 177.8 kB / 3.499 GB, free: 31.42 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/5.341, allocations: 2.016 MB / 3.501 GB, free: 29.38 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/5.341, allocations: 16 kB / 3.501 GB, free: 29.36 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/5.341, allocations: 0 / 3.501 GB, free: 29.36 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/5.341, allocations: 7.969 kB / 3.501 GB, free: 29.35 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00657/5.348, allocations: 3.88 MB / 3.505 GB, free: 25.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/5.348, allocations: 4 kB / 3.505 GB, free: 25.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/5.349, allocations: 327.5 kB / 3.505 GB, free: 25.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009108/5.35, allocations: 208.1 kB / 3.505 GB, free: 24.87 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/5.35, allocations: 27.97 kB / 3.505 GB, free: 24.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003952/5.354, allocations: 6.521 MB / 3.512 GB, free: 17.74 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/5.354, allocations: 0 / 3.512 GB, free: 17.74 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003279/5.358, allocations: 1.734 MB / 3.513 GB, free: 15.97 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/5.359, allocations: 0.6583 MB / 3.514 GB, free: 15.29 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006502/5.36, allocations: 8 kB / 3.514 GB, free: 15.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/5.362, allocations: 119.7 kB / 3.514 GB, free: 15.16 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/5.362, allocations: 85.17 kB / 3.514 GB, free: 15.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/5.362, allocations: 83.95 kB / 3.514 GB, free: 15 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002769/5.365, allocations: 1.832 MB / 3.516 GB, free: 13.17 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002761/5.368, allocations: 0.7559 MB / 3.517 GB, free: 12.41 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.003064/5.371, allocations: 1.741 MB / 3.519 GB, free: 10.75 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002521/5.373, allocations: 1.706 MB / 3.52 GB, free: 9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/5.373, allocations: 0.6562 kB / 3.52 GB, free: 9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/5.375, allocations: 1.216 MB / 3.521 GB, free: 7.734 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/5.377, allocations: 412 kB / 3.522 GB, free: 7.336 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007935/5.385, allocations: 3.015 MB / 3.525 GB, free: 4.266 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002527/5.387, allocations: 1.875 MB / 3.527 GB, free: 2.359 MB / 1.151 GB Notification: Performance of SimCode: time 1.924e-06/5.387, allocations: 0 / 3.527 GB, free: 2.359 MB / 1.151 GB Notification: Performance of Templates: time 0.4736/5.861, allocations: 39.13 MB / 3.565 GB, free: 429.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches