Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [: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.774/1.774, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009489/0.0009489, allocations: 188.4 kB / 487 MB, free: 5.398 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.128/1.128, allocations: 221.3 MB / 0.7819 GB, free: 1.434 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.0008158/0.0008158, allocations: 99.61 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.53e-06/5.55e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1936, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/0.6977, allocations: 167.8 MB / 1.369 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.6979, allocations: 95.64 kB / 1.369 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0245/0.7225, allocations: 12.64 MB / 1.382 GB, free: 14.35 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.7225, allocations: 4 kB / 1.382 GB, free: 14.34 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004927/0.723, allocations: 463.9 kB / 1.382 GB, free: 13.86 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.723, allocations: 8.031 kB / 1.382 GB, free: 13.85 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/0.7236, allocations: 67.64 kB / 1.382 GB, free: 13.78 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.7239, allocations: 228 kB / 1.382 GB, free: 13.53 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.7239, allocations: 4 kB / 1.382 GB, free: 13.53 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.7239, allocations: 8 kB / 1.382 GB, free: 13.52 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002485/0.7242, allocations: 162.9 kB / 1.382 GB, free: 13.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.7245, allocations: 255.1 kB / 1.383 GB, free: 13.17 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.7245, allocations: 4 kB / 1.383 GB, free: 13.16 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.7245, allocations: 0 / 1.383 GB, free: 13.16 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.7246, allocations: 31.8 kB / 1.383 GB, free: 13.14 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.7262, allocations: 1.618 MB / 1.384 GB, free: 11.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.19e-05/0.7263, allocations: 67.58 kB / 1.384 GB, free: 11.42 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.7263, allocations: 44.94 kB / 1.384 GB, free: 11.38 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.7263, allocations: 0 / 1.384 GB, free: 11.38 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.7264, allocations: 42.06 kB / 1.384 GB, free: 11.33 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 3.587e-06/0.7264, allocations: 0 / 1.384 GB, free: 11.33 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003984/0.7268, allocations: 182.6 kB / 1.385 GB, free: 11.16 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.7268, allocations: 77.11 kB / 1.385 GB, free: 11.07 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.727, allocations: 193.9 kB / 1.385 GB, free: 10.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.727, allocations: 25.7 kB / 1.385 GB, free: 10.87 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.7271, allocations: 165.9 kB / 1.385 GB, free: 10.71 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.7271, allocations: 26.39 kB / 1.385 GB, free: 10.69 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.7271, allocations: 8.031 kB / 1.385 GB, free: 10.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.7272, allocations: 322.6 kB / 1.385 GB, free: 10.36 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.21e-05/0.7273, allocations: 68.17 kB / 1.385 GB, free: 10.32 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.7275, allocations: 165.3 kB / 1.386 GB, free: 10.15 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.7277, allocations: 107.8 kB / 1.386 GB, free: 10.07 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.7277, allocations: 4 kB / 1.386 GB, free: 10.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003871/0.7281, allocations: 256.3 kB / 1.386 GB, free: 9.863 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003805/0.7285, allocations: 1.138 MB / 1.387 GB, free: 8.656 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7285, allocations: 4.062 kB / 1.387 GB, free: 8.652 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.7285, allocations: 8 kB / 1.387 GB, free: 8.645 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.7288, allocations: 55.75 kB / 1.387 GB, free: 8.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.7288, allocations: 7.938 kB / 1.387 GB, free: 8.582 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.729, allocations: 11.98 kB / 1.387 GB, free: 8.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.729, allocations: 19.25 kB / 1.387 GB, free: 8.555 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-06/0.729, allocations: 4 kB / 1.387 GB, free: 8.551 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003422/0.7294, allocations: 193.5 kB / 1.387 GB, free: 8.402 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.7294, allocations: 0 / 1.387 GB, free: 8.402 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/0.7294, allocations: 8.375 kB / 1.387 GB, free: 8.395 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.7296, allocations: 51.91 kB / 1.387 GB, free: 8.344 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.7296, allocations: 4 kB / 1.387 GB, free: 8.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.7297, allocations: 11.89 kB / 1.387 GB, free: 8.328 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.7297, allocations: 11.75 kB / 1.387 GB, free: 8.32 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 7.674e-05/0.7298, allocations: 112.9 kB / 1.388 GB, free: 8.203 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.7299, allocations: 15.81 kB / 1.388 GB, free: 8.188 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.7301, allocations: 111.7 kB / 1.388 GB, free: 8.09 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7301, allocations: 0 / 1.388 GB, free: 8.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7301, allocations: 11.94 kB / 1.388 GB, free: 8.078 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7301, allocations: 0 / 1.388 GB, free: 8.078 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006027/0.7307, allocations: 0.5759 MB / 1.388 GB, free: 7.488 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.7307, allocations: 4.25 kB / 1.388 GB, free: 7.484 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.7308, allocations: 19.61 kB / 1.388 GB, free: 7.469 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.7308, allocations: 4 kB / 1.388 GB, free: 7.465 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.7308, allocations: 7.906 kB / 1.388 GB, free: 7.457 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.7308, allocations: 3.938 kB / 1.388 GB, free: 7.453 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7309, allocations: 4 kB / 1.388 GB, free: 7.449 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000237/0.7311, allocations: 336.6 kB / 1.389 GB, free: 7.066 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.7312, allocations: 108.6 kB / 1.389 GB, free: 6.945 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.7312, allocations: 4 kB / 1.389 GB, free: 6.941 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.7314, allocations: 7.938 kB / 1.389 GB, free: 6.934 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.7314, allocations: 8.047 kB / 1.389 GB, free: 6.926 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.7314, allocations: 8 kB / 1.389 GB, free: 6.918 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001154/0.7315, allocations: 159.9 kB / 1.389 GB, free: 6.789 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004381/0.732, allocations: 79.94 kB / 1.389 GB, free: 6.711 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001357/0.7321, allocations: 115.2 kB / 1.389 GB, free: 6.59 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.7325, allocations: 261.2 kB / 1.389 GB, free: 6.398 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7325, allocations: 3.312 kB / 1.389 GB, free: 6.398 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.185e-05/0.7325, allocations: 46.8 kB / 1.389 GB, free: 6.359 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.7328, allocations: 30.28 kB / 1.389 GB, free: 6.336 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.7333, allocations: 268.2 kB / 1.39 GB, free: 6.059 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.7337, allocations: 0.7551 MB / 1.39 GB, free: 5.277 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.7337, allocations: 0 / 1.39 GB, free: 5.277 MB / 0.823 GB Notification: Performance of Templates: time 0.005012/0.7387, allocations: 2.481 MB / 1.393 GB, free: 2.816 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches