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.413/2.413, allocations: 390.5 MB / 398 MB, free: 10.97 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.001905/0.001905, allocations: 179.8 kB / 491.2 MB, free: 1.613 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.551/1.551, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009524/0.0009524, allocations: 107.8 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.575e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2939, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.352, allocations: 178.6 MB / 1.387 GB, free: 16.68 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.353, allocations: 95.94 kB / 1.387 GB, free: 16.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04519/1.398, allocations: 19.88 MB / 1.406 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.766e-06/1.398, allocations: 0 / 1.406 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.446e-05/1.398, allocations: 8 kB / 1.406 GB, free: 20.81 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.00152/1.399, allocations: 0.5356 MB / 1.407 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/1.4, allocations: 8.031 kB / 1.407 GB, free: 20.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/1.401, allocations: 107.1 kB / 1.407 GB, free: 20.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/1.401, allocations: 248 kB / 1.407 GB, free: 19.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/1.401, allocations: 8 kB / 1.407 GB, free: 19.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/1.401, allocations: 15.94 kB / 1.407 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005627/1.402, allocations: 259.9 kB / 1.407 GB, free: 19.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/1.402, allocations: 331.6 kB / 1.408 GB, free: 19.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/1.403, allocations: 3.938 kB / 1.408 GB, free: 19.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/1.403, allocations: 4 kB / 1.408 GB, free: 19.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/1.403, allocations: 27.58 kB / 1.408 GB, free: 19.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/1.405, allocations: 1.674 MB / 1.409 GB, free: 17.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/1.405, allocations: 320.1 kB / 1.41 GB, free: 17.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/1.406, allocations: 162.4 kB / 1.41 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/1.406, allocations: 97.48 kB / 1.41 GB, free: 17.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/1.406, allocations: 33.75 kB / 1.41 GB, free: 17.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/1.406, allocations: 0 / 1.41 GB, free: 17.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.002877/1.409, allocations: 1.093 MB / 1.411 GB, free: 16.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/1.409, allocations: 81.11 kB / 1.411 GB, free: 16.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/1.409, allocations: 151.1 kB / 1.411 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/1.409, allocations: 25.7 kB / 1.411 GB, free: 16.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/1.409, allocations: 146.2 kB / 1.411 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/1.409, allocations: 121 kB / 1.412 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/1.409, allocations: 0 / 1.412 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.409, allocations: 333.2 kB / 1.412 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/1.41, allocations: 209.2 kB / 1.412 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/1.41, allocations: 296.7 kB / 1.412 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/1.411, allocations: 300.3 kB / 1.413 GB, free: 15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.411, allocations: 3.953 kB / 1.413 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001064/1.412, allocations: 0.6006 MB / 1.413 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004137/1.412, allocations: 0.8721 MB / 1.414 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.412, allocations: 4 kB / 1.414 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/1.412, allocations: 7.938 kB / 1.414 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008514/1.413, allocations: 151 kB / 1.414 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.413, allocations: 7.938 kB / 1.414 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/1.413, allocations: 47.92 kB / 1.414 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/1.413, allocations: 15.06 kB / 1.414 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/1.413, allocations: 4 kB / 1.414 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008897/1.414, allocations: 464.4 kB / 1.415 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/1.414, allocations: 0 / 1.415 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/1.414, allocations: 8 kB / 1.415 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006869/1.415, allocations: 131.3 kB / 1.415 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.415, allocations: 4 kB / 1.415 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/1.415, allocations: 40.23 kB / 1.415 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/1.415, allocations: 15.75 kB / 1.415 GB, free: 12.88 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.0001429/1.416, allocations: 116.8 kB / 1.415 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/1.416, allocations: 23.75 kB / 1.415 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/1.417, allocations: 0.617 MB / 1.416 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.417, allocations: 4 kB / 1.416 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.417, allocations: 0 / 1.416 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/1.417, allocations: 0 / 1.416 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/1.419, allocations: 1.276 MB / 1.417 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.419, allocations: 0 / 1.417 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/1.419, allocations: 126.9 kB / 1.417 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/1.419, allocations: 4 kB / 1.417 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/1.419, allocations: 0 / 1.417 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/1.419, allocations: 7.953 kB / 1.417 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.419, allocations: 4 kB / 1.417 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/1.42, allocations: 0.7644 MB / 1.418 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/1.421, allocations: 140.9 kB / 1.418 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/1.421, allocations: 4 kB / 1.418 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/1.421, allocations: 43.39 kB / 1.418 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/1.421, allocations: 35.67 kB / 1.418 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/1.421, allocations: 8 kB / 1.418 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001145/1.421, allocations: 138 kB / 1.418 GB, free: 9.984 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.423e-06/1.421, allocations: 0 / 1.418 GB, free: 9.984 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007118/1.422, allocations: 147.9 kB / 1.418 GB, free: 9.84 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.0002789/1.422, allocations: 146 kB / 1.418 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009608/1.423, allocations: 0.6913 MB / 1.419 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.423, allocations: 4 kB / 1.419 GB, free: 9.219 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/1.424, allocations: 211.2 kB / 1.419 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/1.424, allocations: 37.73 kB / 1.419 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/1.425, allocations: 0.5444 MB / 1.42 GB, free: 8.555 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/1.425, allocations: 0.795 MB / 1.421 GB, free: 7.742 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005508/1.426, allocations: 171.1 kB / 1.421 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.426, allocations: 31.42 kB / 1.421 GB, free: 7.543 MB / 0.8386 GB Notification: Performance of SimCode: time 7.12e-07/1.426, allocations: 0 / 1.421 GB, free: 7.543 MB / 0.8386 GB Notification: Performance of Templates: time 0.0091/1.435, allocations: 4.407 MB / 1.425 GB, free: 3.172 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