Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.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_9_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_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001181/0.001181, allocations: 177.6 kB / 498.1 MB, free: 5.738 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.682/1.682, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001011/0.001012, allocations: 102.2 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004231, allocations: 6.906 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.34, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2328/0.5729, allocations: 178.6 MB / 1.397 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.5733, allocations: 95.94 kB / 1.397 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.04978/0.6231, allocations: 20.06 MB / 1.417 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6231, allocations: 0 / 1.417 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.403e-05/0.6231, allocations: 4 kB / 1.417 GB, free: 11.09 MB / 0.9167 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.001187/0.6243, allocations: 0.5611 MB / 1.417 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.6244, allocations: 11.98 kB / 1.417 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008937/0.6253, allocations: 103.5 kB / 1.418 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.6257, allocations: 255.2 kB / 1.418 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.6258, allocations: 12.44 kB / 1.418 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.6258, allocations: 19.98 kB / 1.418 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/0.6266, allocations: 385.9 kB / 1.418 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.6266, allocations: 0 / 1.418 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.6266, allocations: 11.98 kB / 1.418 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.6267, allocations: 23.78 kB / 1.418 GB, free: 9.598 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.6274, allocations: 379.6 kB / 1.419 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.6296, allocations: 1.718 MB / 1.42 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.6303, allocations: 341.2 kB / 1.421 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.6305, allocations: 93.03 kB / 1.421 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.6305, allocations: 46.52 kB / 1.421 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 2.324e-06/0.6305, allocations: 0 / 1.421 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35): time 0.00707/0.6376, allocations: 1.975 MB / 1.423 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.6377, allocations: 85.11 kB / 1.423 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.6379, allocations: 162 kB / 1.423 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.6379, allocations: 33.7 kB / 1.423 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.638, allocations: 148.4 kB / 1.423 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.6382, allocations: 114.3 kB / 1.423 GB, free: 4.293 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.6382, allocations: 12 kB / 1.423 GB, free: 4.281 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6384, allocations: 334.8 kB / 1.424 GB, free: 3.945 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.6389, allocations: 251.8 kB / 1.424 GB, free: 3.699 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.6394, allocations: 341.3 kB / 1.424 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.64, allocations: 294.1 kB / 1.424 GB, free: 3.047 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.64, allocations: 3.938 kB / 1.424 GB, free: 3.043 MB / 0.9167 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001273/0.6413, allocations: 0.661 MB / 1.425 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004493/0.6417, allocations: 0.8731 MB / 1.426 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.6418, allocations: 7.938 kB / 1.426 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.6418, allocations: 4 kB / 1.426 GB, free: 1.422 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.6429, allocations: 167.8 kB / 1.426 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.6429, allocations: 4 kB / 1.426 GB, free: 1.254 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.6433, allocations: 51.94 kB / 1.426 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.6433, allocations: 19.98 kB / 1.426 GB, free: 1.184 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.6434, allocations: 4 kB / 1.426 GB, free: 1.18 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001158/0.6445, allocations: 0.5892 MB / 1.427 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.6445, allocations: 288 / 1.427 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.6446, allocations: 11.94 kB / 1.427 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009507/0.6455, allocations: 171.8 kB / 1.427 GB, free: 420 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.6455, allocations: 4 kB / 1.427 GB, free: 416 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.6459, allocations: 43.94 kB / 1.427 GB, free: 372 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.6459, allocations: 23.95 kB / 1.427 GB, free: 348 kB / 0.9167 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 () * Number of clocked 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.00026/0.6462, allocations: 246.5 kB / 1.427 GB, free: 92 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/0.6463, allocations: 23.72 kB / 1.427 GB, free: 68 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6462/1.293, allocations: 0.675 MB / 1.428 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.293, allocations: 4.781 kB / 1.428 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.293, allocations: 0 / 1.428 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.293, allocations: 5.078 kB / 1.428 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/1.295, allocations: 1.382 MB / 1.429 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.295, allocations: 4.25 kB / 1.429 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006018/1.296, allocations: 120.8 kB / 1.429 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/1.296, allocations: 4.094 kB / 1.429 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/1.296, allocations: 11.36 kB / 1.429 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/1.296, allocations: 3.391 kB / 1.429 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.296, allocations: 6.906 kB / 1.429 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/1.297, allocations: 0.8197 MB / 1.43 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/1.297, allocations: 145.1 kB / 1.43 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/1.297, allocations: 6.562 kB / 1.43 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.298, allocations: 48.22 kB / 1.43 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.298, allocations: 32.95 kB / 1.43 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/1.298, allocations: 15.59 kB / 1.43 GB, free: 190.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001725/1.298, allocations: 138.6 kB / 1.431 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.32e-07/1.298, allocations: 0 / 1.431 GB, free: 190.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009161/1.299, allocations: 163.9 kB / 1.431 GB, free: 190.3 MB / 0.9167 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 () * Number of clocked 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.0003582/1.299, allocations: 160.5 kB / 1.431 GB, free: 190.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00194/1.301, allocations: 0.875 MB / 1.432 GB, free: 190.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.301, allocations: 0 / 1.432 GB, free: 190.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005041/1.302, allocations: 266 kB / 1.432 GB, free: 190.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/1.302, allocations: 35.72 kB / 1.432 GB, free: 190.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/1.304, allocations: 0.8201 MB / 1.433 GB, free: 189.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/1.304, allocations: 0.7926 MB / 1.434 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006551/1.305, allocations: 172.3 kB / 1.434 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/1.305, allocations: 29.23 kB / 1.434 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of SimCode: time 7.51e-07/1.305, allocations: 0 / 1.434 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.0112/1.316, allocations: 4.34 MB / 1.438 GB, free: 188.9 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches