Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 249.4 MB / 256.7 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 181.2 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 88.45 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.913e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.233, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6974/0.9305, allocations: 151 MB / 1.032 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.9308, allocations: 90.62 kB / 1.032 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.02666/0.9575, allocations: 11.32 MB / 1.043 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.9576, allocations: 4 kB / 1.043 GB, free: 12.06 MB / 0.6667 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.0006589/0.9583, allocations: 453.1 kB / 1.044 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.9583, allocations: 8.031 kB / 1.044 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000608/0.9589, allocations: 71.66 kB / 1.044 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.9593, allocations: 226.2 kB / 1.044 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.9593, allocations: 8 kB / 1.044 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.9594, allocations: 11.91 kB / 1.044 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002984/0.9597, allocations: 159.7 kB / 1.044 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.96, allocations: 259.2 kB / 1.044 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.9601, allocations: 7.938 kB / 1.044 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.9601, allocations: 4 kB / 1.044 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.418e-05/0.9601, allocations: 19.84 kB / 1.044 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.9619, allocations: 1.62 MB / 1.046 GB, free: 9.223 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.804e-05/0.962, allocations: 71.19 kB / 1.046 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.747e-05/0.9621, allocations: 50.56 kB / 1.046 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.9621, allocations: 4 kB / 1.046 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.9621, allocations: 38.5 kB / 1.046 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.9621, allocations: 0 / 1.046 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004678/0.9626, allocations: 179.7 kB / 1.046 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.9626, allocations: 81.11 kB / 1.046 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.9629, allocations: 195.5 kB / 1.047 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.9629, allocations: 29.8 kB / 1.047 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.963, allocations: 154 kB / 1.047 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.963, allocations: 33.17 kB / 1.047 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.963, allocations: 4 kB / 1.047 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9631, allocations: 320.9 kB / 1.047 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.96e-05/0.9632, allocations: 76.53 kB / 1.047 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.9634, allocations: 153 kB / 1.047 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.9636, allocations: 107.1 kB / 1.047 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9636, allocations: 0 / 1.047 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004086/0.9641, allocations: 268.5 kB / 1.048 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004546/0.9645, allocations: 1.141 MB / 1.049 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9645, allocations: 0 / 1.049 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.9646, allocations: 8 kB / 1.049 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.9648, allocations: 47.97 kB / 1.049 GB, free: 6.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.9648, allocations: 11.92 kB / 1.049 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.9651, allocations: 11.98 kB / 1.049 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.9651, allocations: 11.5 kB / 1.049 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.133e-06/0.9651, allocations: 7.906 kB / 1.049 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003219/0.9654, allocations: 206.3 kB / 1.049 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.9654, allocations: 4 kB / 1.049 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.9655, allocations: 4 kB / 1.049 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.9656, allocations: 43.92 kB / 1.049 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.9657, allocations: 7.984 kB / 1.049 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.9658, allocations: 8 kB / 1.049 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.9658, allocations: 15.44 kB / 1.049 GB, free: 6.043 MB / 0.6667 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.95e-05/0.9659, allocations: 112.9 kB / 1.049 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.966, allocations: 11.94 kB / 1.049 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.9662, allocations: 124.8 kB / 1.049 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9662, allocations: 0 / 1.049 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9662, allocations: 0 / 1.049 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.9662, allocations: 3.984 kB / 1.049 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.9668, allocations: 0.5844 MB / 1.05 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.9668, allocations: 4 kB / 1.05 GB, free: 5.199 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.9669, allocations: 15.98 kB / 1.05 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.9669, allocations: 4 kB / 1.05 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.967, allocations: 0 / 1.05 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.967, allocations: 8.062 kB / 1.05 GB, free: 5.172 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.967, allocations: 4 kB / 1.05 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000255/0.9672, allocations: 341.6 kB / 1.05 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.9673, allocations: 104.2 kB / 1.05 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.9674, allocations: 0 / 1.05 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.9675, allocations: 11.89 kB / 1.05 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.9676, allocations: 11.56 kB / 1.05 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.9676, allocations: 4 kB / 1.05 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001255/0.9677, allocations: 158.6 kB / 1.051 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004604/0.9682, allocations: 79.5 kB / 1.051 GB, free: 4.434 MB / 0.6667 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.0001788/0.9684, allocations: 115.2 kB / 1.051 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.9687, allocations: 262.9 kB / 1.051 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.9687, allocations: 0 / 1.051 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.9688, allocations: 45.97 kB / 1.051 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.9691, allocations: 26.67 kB / 1.051 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.9697, allocations: 277.9 kB / 1.051 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.9701, allocations: 0.7572 MB / 1.052 GB, free: 3 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/0.9701, allocations: 0 / 1.052 GB, free: 3 MB / 0.6667 GB Notification: Performance of Templates: time 0.005422/0.9755, allocations: 2.498 MB / 1.055 GB, free: 0.5312 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches