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.291/2.291, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.00107/0.00107, allocations: 188.5 kB / 487.4 MB, free: 5.051 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.576/1.576, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.000871/0.0008709, allocations: 99.77 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.59e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2945, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9942/1.289, allocations: 177.8 MB / 1.38 GB, free: 18.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.289, allocations: 87.45 kB / 1.38 GB, free: 18.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0455/1.335, allocations: 19.88 MB / 1.399 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.864e-06/1.335, allocations: 0 / 1.399 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.793e-05/1.335, allocations: 11.36 kB / 1.399 GB, free: 26.03 MB / 0.8386 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.001099/1.336, allocations: 0.5383 MB / 1.4 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.336, allocations: 7.688 kB / 1.4 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009281/1.337, allocations: 101.7 kB / 1.4 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/1.337, allocations: 247.6 kB / 1.4 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/1.337, allocations: 15.67 kB / 1.4 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/1.337, allocations: 11.34 kB / 1.4 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004454/1.338, allocations: 262.6 kB / 1.4 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/1.338, allocations: 343.1 kB / 1.401 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/1.338, allocations: 0 / 1.401 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/1.338, allocations: 0 / 1.401 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/1.338, allocations: 22.95 kB / 1.401 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/1.34, allocations: 1.668 MB / 1.402 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/1.341, allocations: 316.4 kB / 1.403 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/1.341, allocations: 162.6 kB / 1.403 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/1.341, allocations: 92.59 kB / 1.403 GB, free: 23.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/1.341, allocations: 42.47 kB / 1.403 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/1.341, allocations: 0 / 1.403 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.002785/1.344, allocations: 1.106 MB / 1.404 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/1.344, allocations: 80.98 kB / 1.404 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/1.344, allocations: 148.5 kB / 1.404 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/1.344, allocations: 25.7 kB / 1.404 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/1.344, allocations: 149.3 kB / 1.404 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/1.344, allocations: 115.4 kB / 1.404 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/1.344, allocations: 0 / 1.404 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.344, allocations: 330.4 kB / 1.405 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/1.345, allocations: 214.4 kB / 1.405 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/1.345, allocations: 297 kB / 1.405 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/1.345, allocations: 298 kB / 1.405 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.346, allocations: 0 / 1.405 GB, free: 22.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000976/1.346, allocations: 0.6025 MB / 1.406 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003781/1.347, allocations: 0.8759 MB / 1.407 GB, free: 20.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/1.347, allocations: 3.953 kB / 1.407 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.347, allocations: 8 kB / 1.407 GB, free: 20.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/1.348, allocations: 143.4 kB / 1.407 GB, free: 20.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.348, allocations: 15.92 kB / 1.407 GB, free: 20.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/1.348, allocations: 47.92 kB / 1.407 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/1.348, allocations: 15.69 kB / 1.407 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/1.348, allocations: 7.938 kB / 1.407 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007635/1.349, allocations: 459.2 kB / 1.408 GB, free: 20.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.349, allocations: 4 kB / 1.408 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-06/1.349, allocations: 4.281 kB / 1.408 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/1.35, allocations: 134.8 kB / 1.408 GB, free: 20.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.35, allocations: 7.938 kB / 1.408 GB, free: 20.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/1.35, allocations: 31.95 kB / 1.408 GB, free: 20.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/1.35, allocations: 15.06 kB / 1.408 GB, free: 20.05 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.0001436/1.35, allocations: 129.4 kB / 1.408 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/1.35, allocations: 19.72 kB / 1.408 GB, free: 19.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/1.351, allocations: 0.6091 MB / 1.409 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/1.351, allocations: 8.031 kB / 1.409 GB, free: 19.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.351, allocations: 4 kB / 1.409 GB, free: 19.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/1.351, allocations: 0 / 1.409 GB, free: 19.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/1.353, allocations: 1.277 MB / 1.41 GB, free: 18.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.353, allocations: 4 kB / 1.41 GB, free: 18.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/1.354, allocations: 119 kB / 1.41 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/1.354, allocations: 4 kB / 1.41 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/1.354, allocations: 4.25 kB / 1.41 GB, free: 18.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/1.354, allocations: 8 kB / 1.41 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.354, allocations: 7.891 kB / 1.41 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008106/1.354, allocations: 0.77 MB / 1.411 GB, free: 17.49 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/1.355, allocations: 144.5 kB / 1.411 GB, free: 17.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/1.355, allocations: 4 kB / 1.411 GB, free: 17.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/1.355, allocations: 31.95 kB / 1.411 GB, free: 17.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/1.355, allocations: 35.08 kB / 1.411 GB, free: 17.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/1.355, allocations: 15.56 kB / 1.411 GB, free: 17.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001009/1.355, allocations: 135.7 kB / 1.411 GB, free: 17.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.355, allocations: 0 / 1.411 GB, free: 17.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007142/1.356, allocations: 143.3 kB / 1.411 GB, free: 17.02 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.0002746/1.356, allocations: 147 kB / 1.411 GB, free: 16.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008713/1.357, allocations: 0.6908 MB / 1.412 GB, free: 16.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.357, allocations: 4.062 kB / 1.412 GB, free: 16.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/1.357, allocations: 217.2 kB / 1.412 GB, free: 16.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/1.358, allocations: 39.5 kB / 1.412 GB, free: 16.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/1.359, allocations: 0.532 MB / 1.413 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/1.359, allocations: 0.7994 MB / 1.414 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000539/1.36, allocations: 171.1 kB / 1.414 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/1.36, allocations: 27.42 kB / 1.414 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.36, allocations: 0 / 1.414 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of Templates: time 0.00816/1.368, allocations: 4.403 MB / 1.418 GB, free: 10.37 MB / 0.8386 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