Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") [: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.709/1.709, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.0009121/0.0009121, allocations: 189.2 kB / 490.8 MB, free: 1.93 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.058/1.058, allocations: 221.4 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.0008172/0.0008173, allocations: 103.3 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5e-06/5.02e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1667, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4738/0.6406, allocations: 178.5 MB / 1.386 GB, free: 16.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.6408, allocations: 93.11 kB / 1.386 GB, free: 16.44 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.03955/0.6804, allocations: 19.49 MB / 1.405 GB, free: 5.91 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6804, allocations: 4 kB / 1.405 GB, free: 5.906 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006074/0.681, allocations: 0.5376 MB / 1.406 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.681, allocations: 8.031 kB / 1.406 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007143/0.6818, allocations: 99.09 kB / 1.406 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.682, allocations: 262.8 kB / 1.406 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.682, allocations: 4 kB / 1.406 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.6821, allocations: 12 kB / 1.406 GB, free: 20.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003483/0.6824, allocations: 257.2 kB / 1.406 GB, free: 20.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.6828, allocations: 352.5 kB / 1.407 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.6828, allocations: 0 / 1.407 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.6828, allocations: 0 / 1.407 GB, free: 20.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.6829, allocations: 27.7 kB / 1.407 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.6844, allocations: 1.682 MB / 1.408 GB, free: 18.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.6846, allocations: 271.4 kB / 1.408 GB, free: 18.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.6848, allocations: 170.3 kB / 1.409 GB, free: 18.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.6849, allocations: 97.38 kB / 1.409 GB, free: 18.37 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.685, allocations: 34.56 kB / 1.409 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.392e-06/0.685, allocations: 0 / 1.409 GB, free: 18.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.002477/0.6875, allocations: 1.107 MB / 1.41 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/0.6875, allocations: 81.11 kB / 1.41 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.6876, allocations: 147.8 kB / 1.41 GB, free: 17.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.6876, allocations: 25.7 kB / 1.41 GB, free: 17.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.6877, allocations: 138.6 kB / 1.41 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.6877, allocations: 120.4 kB / 1.41 GB, free: 16.97 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.6878, allocations: 0 / 1.41 GB, free: 16.97 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.6878, allocations: 336.4 kB / 1.411 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.6881, allocations: 219.1 kB / 1.411 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.6884, allocations: 302.5 kB / 1.411 GB, free: 16.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.6889, allocations: 309.6 kB / 1.411 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6889, allocations: 0 / 1.411 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000888/0.6898, allocations: 0.6212 MB / 1.412 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002021/0.69, allocations: 0.8751 MB / 1.413 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.69, allocations: 0 / 1.413 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.69, allocations: 4 kB / 1.413 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/0.6909, allocations: 159.6 kB / 1.413 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6909, allocations: 7.938 kB / 1.413 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.6913, allocations: 43.95 kB / 1.413 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.6913, allocations: 15.81 kB / 1.413 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-06/0.6913, allocations: 4 kB / 1.413 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000726/0.692, allocations: 470.2 kB / 1.414 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.6921, allocations: 4 kB / 1.414 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.698e-06/0.6921, allocations: 8.031 kB / 1.414 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.6928, allocations: 135.4 kB / 1.414 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.6928, allocations: 4 kB / 1.414 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.6931, allocations: 27.97 kB / 1.414 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.6931, allocations: 19.11 kB / 1.414 GB, free: 13.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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 0.0001067/0.6932, allocations: 120.7 kB / 1.414 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.6933, allocations: 19.81 kB / 1.414 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.6944, allocations: 0.6509 MB / 1.415 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.6944, allocations: 4 kB / 1.415 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6944, allocations: 4 kB / 1.415 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6944, allocations: 3.906 kB / 1.415 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.6961, allocations: 1.279 MB / 1.416 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6962, allocations: 0 / 1.416 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.6968, allocations: 124.1 kB / 1.416 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6968, allocations: 7.906 kB / 1.416 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.6968, allocations: 4 kB / 1.416 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.6968, allocations: 7.984 kB / 1.416 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6969, allocations: 7.938 kB / 1.416 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007938/0.6977, allocations: 0.776 MB / 1.417 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.6978, allocations: 142.8 kB / 1.417 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.6979, allocations: 3.906 kB / 1.417 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.6982, allocations: 31.97 kB / 1.417 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.6983, allocations: 31.64 kB / 1.417 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.6983, allocations: 15.5 kB / 1.417 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.546e-05/0.6984, allocations: 133.7 kB / 1.417 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000535/0.699, allocations: 147.9 kB / 1.417 GB, free: 10.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0001826/0.6991, allocations: 146 kB / 1.417 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008537/0.7, allocations: 0.7233 MB / 1.418 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.7, allocations: 0 / 1.418 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.7003, allocations: 227.8 kB / 1.418 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.7006, allocations: 30.05 kB / 1.418 GB, free: 9.992 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/0.7016, allocations: 0.5837 MB / 1.419 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.7021, allocations: 0.8366 MB / 1.42 GB, free: 8.609 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/0.7021, allocations: 0 / 1.42 GB, free: 8.609 MB / 0.8386 GB Notification: Performance of Templates: time 0.009235/0.7113, allocations: 6.592 MB / 1.426 GB, free: 2.062 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches