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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 107.8 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 189 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.566/2.566, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 62.44 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.364, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005294/0.3694, allocations: 2.734 MB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.3731, allocations: 2.092 MB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.3734, allocations: 7.938 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.3745, allocations: 231.1 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006878/0.3752, allocations: 219.1 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.3761, allocations: 279.1 kB / 1.07 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.3766, allocations: 315.1 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.3769, allocations: 154 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.3772, allocations: 127.6 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.3775, allocations: 155.5 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.3776, allocations: 20 kB / 1.07 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.3783, allocations: 415.2 kB / 1.071 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3785, allocations: 95.78 kB / 1.071 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3786, allocations: 119.4 kB / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008229/0.3794, allocations: 482.9 kB / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3795, allocations: 0 / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3795, allocations: 0 / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.3795, allocations: 0 / 1.071 GB, free: 7.605 MB / 0.8419 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.001127/0.3806, allocations: 0.5576 MB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3807, allocations: 12.62 kB / 1.072 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.3817, allocations: 132.4 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.3821, allocations: 256.4 kB / 1.072 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.3821, allocations: 24.8 kB / 1.072 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.3822, allocations: 24.03 kB / 1.072 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.3828, allocations: 393.9 kB / 1.073 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3829, allocations: 0 / 1.073 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.3829, allocations: 8 kB / 1.073 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.383, allocations: 27.98 kB / 1.073 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00071/0.3837, allocations: 375.6 kB / 1.073 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.3857, allocations: 1.737 MB / 1.075 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/0.3865, allocations: 356.9 kB / 1.075 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.3868, allocations: 193.6 kB / 1.075 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.387, allocations: 97.08 kB / 1.076 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.387, allocations: 30.56 kB / 1.076 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.387, allocations: 0 / 1.076 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.008758/0.3958, allocations: 2.051 MB / 1.078 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.3959, allocations: 81.11 kB / 1.078 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.3961, allocations: 182.6 kB / 1.078 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.3961, allocations: 29.7 kB / 1.078 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.3962, allocations: 148.4 kB / 1.078 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3964, allocations: 122.2 kB / 1.078 GB, free: 468 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.3965, allocations: 77.69 kB / 1.078 GB, free: 384 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3966, allocations: 334.8 kB / 1.078 GB, free: 40 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6408/1.037, allocations: 260.5 kB / 1.079 GB, free: 22.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007811/1.038, allocations: 349.5 kB / 1.079 GB, free: 22.33 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/1.04, allocations: 0.6213 MB / 1.08 GB, free: 22.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.04, allocations: 4.656 kB / 1.08 GB, free: 22.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001606/1.041, allocations: 0.6608 MB / 1.08 GB, free: 22.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.041, allocations: 6.25 kB / 1.08 GB, free: 22.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.041, allocations: 6.547 kB / 1.08 GB, free: 22.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/1.041, allocations: 4.828 kB / 1.08 GB, free: 22.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.042, allocations: 159.9 kB / 1.08 GB, free: 22.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/1.042, allocations: 5.75 kB / 1.08 GB, free: 22.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/1.043, allocations: 53.16 kB / 1.081 GB, free: 22.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/1.043, allocations: 17.8 kB / 1.081 GB, free: 22.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006749/1.044, allocations: 375.8 kB / 1.081 GB, free: 21.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006389/1.044, allocations: 329.2 kB / 1.081 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001115/1.046, allocations: 0.6099 MB / 1.082 GB, free: 21.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/1.046, allocations: 0.9375 kB / 1.082 GB, free: 21.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001367/1.047, allocations: 0.6351 MB / 1.082 GB, free: 21.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.047, allocations: 6 kB / 1.082 GB, free: 21.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.047, allocations: 2.812 kB / 1.082 GB, free: 21.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/1.047, allocations: 3.594 kB / 1.082 GB, free: 21.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008947/1.048, allocations: 150.3 kB / 1.083 GB, free: 21.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.048, allocations: 12.41 kB / 1.083 GB, free: 21.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/1.048, allocations: 54.11 kB / 1.083 GB, free: 21.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/1.048, allocations: 14.92 kB / 1.083 GB, free: 21.21 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001832/1.049, allocations: 203.9 kB / 1.083 GB, free: 21.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/1.049, allocations: 20.88 kB / 1.083 GB, free: 21.01 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/1.05, allocations: 0.6776 MB / 1.084 GB, free: 20.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/1.05, allocations: 8.641 kB / 1.084 GB, free: 20.72 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.05, allocations: 0.9062 kB / 1.084 GB, free: 20.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/1.05, allocations: 2.422 kB / 1.084 GB, free: 20.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/1.053, allocations: 1.365 MB / 1.085 GB, free: 19.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/1.053, allocations: 2.125 kB / 1.085 GB, free: 19.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/1.053, allocations: 124.5 kB / 1.085 GB, free: 19.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/1.053, allocations: 4.344 kB / 1.085 GB, free: 19.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/1.053, allocations: 8.625 kB / 1.085 GB, free: 19.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/1.053, allocations: 4.125 kB / 1.085 GB, free: 19.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.053, allocations: 6.781 kB / 1.085 GB, free: 19.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.054, allocations: 0.7211 MB / 1.086 GB, free: 19.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/1.055, allocations: 146.7 kB / 1.086 GB, free: 19.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/1.055, allocations: 8.359 kB / 1.086 GB, free: 19.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/1.055, allocations: 39.97 kB / 1.086 GB, free: 19.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.055, allocations: 30.38 kB / 1.086 GB, free: 19.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/1.055, allocations: 13.31 kB / 1.086 GB, free: 19.31 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001971/1.055, allocations: 155 kB / 1.086 GB, free: 19.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.91e-07/1.055, allocations: 0 / 1.086 GB, free: 19.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008201/1.056, allocations: 146.7 kB / 1.086 GB, free: 19.2 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002217/1.056, allocations: 140.1 kB / 1.086 GB, free: 19.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002005/1.058, allocations: 0.9216 MB / 1.087 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.058, allocations: 0.7812 kB / 1.087 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004864/1.059, allocations: 256.2 kB / 1.088 GB, free: 18.72 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/1.059, allocations: 43.3 kB / 1.088 GB, free: 18.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/1.061, allocations: 0.7432 MB / 1.088 GB, free: 18.28 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/1.061, allocations: 0.7833 MB / 1.089 GB, free: 17.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/1.061, allocations: 37.44 kB / 1.089 GB, free: 17.56 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/1.061, allocations: 0 / 1.089 GB, free: 17.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.01114/1.072, allocations: 4.945 MB / 1.094 GB, free: 17.2 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches