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.001541/0.001541, allocations: 113.1 kB / 16.41 MB, free: 6.484 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.001599/0.001599, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.437/1.437, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.84 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005411/1.016, allocations: 2.752 MB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003771/1.02, allocations: 2.084 MB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/1.02, allocations: 8 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009853/1.021, allocations: 227.1 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006932/1.022, allocations: 215.1 kB / 1.214 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008464/1.023, allocations: 279.2 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005028/1.023, allocations: 319 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/1.024, allocations: 158 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/1.024, allocations: 123.6 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/1.024, allocations: 155.5 kB / 1.215 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/1.024, allocations: 20 kB / 1.215 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007883/1.025, allocations: 415.2 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/1.025, allocations: 91.77 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/1.025, allocations: 123.4 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000905/1.026, allocations: 484.4 kB / 1.216 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.026, allocations: 3.938 kB / 1.216 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/1.026, allocations: 8 kB / 1.216 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.055e-05/1.026, allocations: 0 / 1.216 GB, free: 6.188 MB / 0.9356 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.00115/1.027, allocations: 0.5576 MB / 1.216 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.028, allocations: 8.031 kB / 1.216 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/1.029, allocations: 128.5 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/1.029, allocations: 260.4 kB / 1.217 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/1.029, allocations: 12.81 kB / 1.217 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.194e-05/1.029, allocations: 28.11 kB / 1.217 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/1.03, allocations: 397.8 kB / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/1.03, allocations: 3.984 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/1.03, allocations: 8 kB / 1.217 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/1.03, allocations: 31.86 kB / 1.217 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007434/1.031, allocations: 371.7 kB / 1.217 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/1.033, allocations: 1.73 MB / 1.219 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/1.034, allocations: 353 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/1.034, allocations: 189.6 kB / 1.22 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/1.034, allocations: 97.09 kB / 1.22 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/1.034, allocations: 42.48 kB / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/1.034, allocations: 0 / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.008957/1.043, allocations: 2.044 MB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/1.043, allocations: 81.11 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/1.043, allocations: 187.5 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/1.043, allocations: 29.7 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.044, allocations: 152.3 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/1.044, allocations: 118.3 kB / 1.222 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/1.044, allocations: 81.67 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.044, allocations: 330.8 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/1.045, allocations: 264.7 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/1.045, allocations: 349.4 kB / 1.223 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.046, allocations: 0.6151 MB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.046, allocations: 7.938 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001343/1.048, allocations: 0.659 MB / 1.224 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.048, allocations: 4 kB / 1.224 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.048, allocations: 4.281 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.048, allocations: 8 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009604/1.049, allocations: 155.7 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.049, allocations: 7.984 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/1.049, allocations: 51.92 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/1.049, allocations: 19.98 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000651/1.05, allocations: 375.9 kB / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005616/1.051, allocations: 329.9 kB / 1.225 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001096/1.052, allocations: 0.598 MB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.97e-06/1.052, allocations: 0 / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0013/1.053, allocations: 0.6452 MB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/1.053, allocations: 4 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.053, allocations: 4 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/1.053, allocations: 4 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000905/1.054, allocations: 156 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.054, allocations: 4 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/1.054, allocations: 59.91 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/1.054, allocations: 19.88 kB / 1.227 GB, free: 10.17 MB / 0.9512 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.0001703/1.055, allocations: 204.1 kB / 1.227 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/1.055, allocations: 19.81 kB / 1.227 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/1.056, allocations: 0.6766 MB / 1.228 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.056, allocations: 4 kB / 1.228 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.056, allocations: 0 / 1.228 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.056, allocations: 4 kB / 1.228 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/1.058, allocations: 1.372 MB / 1.229 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.058, allocations: 0 / 1.229 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/1.059, allocations: 123.8 kB / 1.229 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/1.059, allocations: 4 kB / 1.229 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/1.059, allocations: 8 kB / 1.229 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/1.059, allocations: 7.938 kB / 1.229 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.059, allocations: 7.938 kB / 1.229 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/1.06, allocations: 0.7131 MB / 1.23 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/1.06, allocations: 140.8 kB / 1.23 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/1.06, allocations: 8 kB / 1.23 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/1.061, allocations: 43.88 kB / 1.23 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/1.061, allocations: 31.91 kB / 1.23 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/1.061, allocations: 20 kB / 1.23 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001745/1.061, allocations: 147.2 kB / 1.23 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.061, allocations: 0 / 1.23 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006712/1.062, allocations: 148 kB / 1.23 GB, free: 6.336 MB / 0.9512 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.0002463/1.062, allocations: 131.1 kB / 1.231 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001752/1.064, allocations: 0.8869 MB / 1.231 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.064, allocations: 0 / 1.231 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004496/1.064, allocations: 255.7 kB / 1.232 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/1.065, allocations: 55.84 kB / 1.232 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/1.066, allocations: 0.7486 MB / 1.232 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/1.066, allocations: 0.776 MB / 1.233 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/1.067, allocations: 39.42 kB / 1.233 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/1.067, allocations: 0 / 1.233 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of Templates: time 0.008515/1.075, allocations: 4.968 MB / 1.238 GB, free: 14.41 MB / 0.9669 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