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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.38/2.38, allocations: 390.3 MB / 402.8 MB, free: 6.641 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.001322/0.001322, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009525/0.0009526, allocations: 91.61 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.863e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2829, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.347, allocations: 179.3 MB / 1.394 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/1.347, allocations: 96.67 kB / 1.394 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05017/1.398, allocations: 19.94 MB / 1.413 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.573e-06/1.398, allocations: 3.938 kB / 1.413 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.694e-05/1.398, allocations: 8 kB / 1.413 GB, free: 7.602 MB / 0.8698 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.001174/1.399, allocations: 0.5348 MB / 1.414 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.399, allocations: 12.03 kB / 1.414 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000953/1.4, allocations: 103.5 kB / 1.414 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/1.4, allocations: 250.5 kB / 1.414 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/1.4, allocations: 19.86 kB / 1.414 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/1.4, allocations: 19.06 kB / 1.414 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/1.401, allocations: 361.5 kB / 1.415 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/1.401, allocations: 4 kB / 1.415 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/1.401, allocations: 3.125 kB / 1.415 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/1.401, allocations: 27.58 kB / 1.415 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005477/1.402, allocations: 336.5 kB / 1.415 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/1.404, allocations: 1.722 MB / 1.417 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/1.405, allocations: 324.2 kB / 1.417 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/1.405, allocations: 172.6 kB / 1.417 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/1.405, allocations: 97.06 kB / 1.417 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/1.405, allocations: 53.69 kB / 1.417 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.876e-06/1.405, allocations: 0 / 1.417 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.006341/1.411, allocations: 1.715 MB / 1.419 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/1.412, allocations: 81.11 kB / 1.419 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/1.412, allocations: 159.5 kB / 1.419 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/1.412, allocations: 36.89 kB / 1.419 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/1.412, allocations: 150.8 kB / 1.419 GB, free: 2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/1.412, allocations: 116.9 kB / 1.42 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/1.412, allocations: 6.625 kB / 1.42 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.412, allocations: 340.1 kB / 1.42 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/1.413, allocations: 214.7 kB / 1.42 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/1.413, allocations: 308.5 kB / 1.42 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/1.413, allocations: 262.4 kB / 1.421 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.413, allocations: 0 / 1.421 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008951/1.414, allocations: 0.5827 MB / 1.421 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000377/1.415, allocations: 0.8751 MB / 1.422 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.415, allocations: 3.938 kB / 1.422 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.415, allocations: 4 kB / 1.422 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.416, allocations: 178.9 kB / 1.422 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/1.416, allocations: 8 kB / 1.422 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/1.416, allocations: 47.12 kB / 1.422 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/1.416, allocations: 19.69 kB / 1.422 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.416, allocations: 4 kB / 1.422 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008013/1.417, allocations: 0.5185 MB / 1.423 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/1.417, allocations: 0 / 1.423 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/1.417, allocations: 8 kB / 1.423 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/1.418, allocations: 166.9 kB / 1.423 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.418, allocations: 4 kB / 1.423 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/1.418, allocations: 54.45 kB / 1.423 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/1.419, allocations: 15 kB / 1.423 GB, free: 14.84 MB / 0.8855 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.0001315/1.419, allocations: 124.1 kB / 1.423 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/1.419, allocations: 31.09 kB / 1.423 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/1.42, allocations: 0.6057 MB / 1.424 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/1.42, allocations: 4 kB / 1.424 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.42, allocations: 0 / 1.424 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.42, allocations: 7.938 kB / 1.424 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/1.422, allocations: 1.308 MB / 1.425 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.422, allocations: 4 kB / 1.425 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/1.423, allocations: 120.1 kB / 1.425 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/1.423, allocations: 7.953 kB / 1.425 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/1.423, allocations: 11.69 kB / 1.425 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/1.423, allocations: 4 kB / 1.425 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.423, allocations: 4 kB / 1.425 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/1.424, allocations: 0.7542 MB / 1.426 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/1.424, allocations: 140 kB / 1.426 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/1.424, allocations: 13.56 kB / 1.426 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/1.424, allocations: 43.88 kB / 1.426 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.424, allocations: 35.8 kB / 1.426 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/1.424, allocations: 15.75 kB / 1.426 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001438/1.425, allocations: 146.5 kB / 1.426 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.425, allocations: 3.938 kB / 1.426 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007815/1.425, allocations: 163.5 kB / 1.426 GB, free: 11.79 MB / 0.8855 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.0003565/1.426, allocations: 153.8 kB / 1.427 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0013/1.427, allocations: 0.7676 MB / 1.427 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.427, allocations: 0 / 1.427 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/1.427, allocations: 232.3 kB / 1.428 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/1.428, allocations: 31.61 kB / 1.428 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/1.429, allocations: 0.5558 MB / 1.428 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/1.429, allocations: 0.7903 MB / 1.429 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006013/1.43, allocations: 182.8 kB / 1.429 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/1.43, allocations: 31.42 kB / 1.429 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of SimCode: time 2.6e-07/1.43, allocations: 0 / 1.429 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of Templates: time 0.01063/1.441, allocations: 4.526 MB / 1.434 GB, free: 4.922 MB / 0.8855 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