Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001283/0.001283, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001518/0.001518, allocations: 187 kB / 17.34 MB, free: 5.719 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 71.83 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9981/0.9996, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004941/1.005, allocations: 2.741 MB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003563/1.008, allocations: 2.092 MB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/1.008, allocations: 4 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009106/1.009, allocations: 227.1 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006342/1.01, allocations: 215.1 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/1.011, allocations: 280.8 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004745/1.011, allocations: 323 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/1.012, allocations: 160.2 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/1.012, allocations: 127.6 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/1.012, allocations: 147.5 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/1.012, allocations: 16 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000722/1.013, allocations: 423.2 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/1.013, allocations: 95.77 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001451/1.013, allocations: 111.4 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007283/1.014, allocations: 488.4 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.014, allocations: 4 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.354e-06/1.014, allocations: 3.938 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.947e-05/1.014, allocations: 0 / 1.175 GB, free: 12.38 MB / 0.9044 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.00113/1.015, allocations: 0.5614 MB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.015, allocations: 12.92 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.016, allocations: 136.5 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/1.017, allocations: 258.1 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/1.017, allocations: 16.81 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/1.017, allocations: 24.12 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/1.018, allocations: 397.9 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/1.018, allocations: 3.938 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/1.018, allocations: 4 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/1.018, allocations: 27.98 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/1.019, allocations: 375.4 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/1.021, allocations: 1.738 MB / 1.178 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/1.022, allocations: 360.9 kB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/1.022, allocations: 193.6 kB / 1.178 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/1.022, allocations: 89.09 kB / 1.179 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/1.022, allocations: 34.5 kB / 1.179 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 1.973e-06/1.022, allocations: 3.938 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.008713/1.031, allocations: 2.048 MB / 1.181 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/1.031, allocations: 85.09 kB / 1.181 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/1.031, allocations: 181.3 kB / 1.181 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/1.031, allocations: 33.7 kB / 1.181 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/1.031, allocations: 148.3 kB / 1.181 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/1.031, allocations: 118.3 kB / 1.181 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/1.032, allocations: 81.67 kB / 1.181 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.032, allocations: 330.8 kB / 1.182 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/1.032, allocations: 264.6 kB / 1.182 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/1.033, allocations: 353.4 kB / 1.182 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/1.034, allocations: 0.6156 MB / 1.183 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.034, allocations: 3.938 kB / 1.183 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001362/1.036, allocations: 0.6584 MB / 1.183 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.036, allocations: 12.03 kB / 1.183 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.036, allocations: 4 kB / 1.183 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/1.036, allocations: 4 kB / 1.183 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009675/1.037, allocations: 151.8 kB / 1.184 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.037, allocations: 7.938 kB / 1.184 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/1.037, allocations: 59.91 kB / 1.184 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/1.037, allocations: 16 kB / 1.184 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006501/1.038, allocations: 367.9 kB / 1.184 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005717/1.038, allocations: 333.9 kB / 1.184 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001124/1.04, allocations: 0.6019 MB / 1.185 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.455e-06/1.04, allocations: 3.938 kB / 1.185 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0013/1.041, allocations: 0.6374 MB / 1.186 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.041, allocations: 8 kB / 1.186 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/1.041, allocations: 0 / 1.186 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-06/1.041, allocations: 4.281 kB / 1.186 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/1.042, allocations: 155.8 kB / 1.186 GB, free: 444 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.042, allocations: 4 kB / 1.186 GB, free: 440 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/1.042, allocations: 55.92 kB / 1.186 GB, free: 384 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/1.042, allocations: 12 kB / 1.186 GB, free: 372 kB / 0.9044 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.0001796/1.043, allocations: 212 kB / 1.186 GB, free: 152 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/1.043, allocations: 23.8 kB / 1.186 GB, free: 128 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/1.044, allocations: 0.6844 MB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.044, allocations: 4 kB / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.044, allocations: 0 / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.044, allocations: 0 / 1.187 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/1.046, allocations: 1.375 MB / 1.188 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.046, allocations: 4 kB / 1.188 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/1.047, allocations: 115.8 kB / 1.188 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/1.047, allocations: 4 kB / 1.188 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/1.047, allocations: 8 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.047, allocations: 8.188 kB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.047, allocations: 4 kB / 1.188 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/1.048, allocations: 0.7084 MB / 1.189 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/1.048, allocations: 140.8 kB / 1.189 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/1.048, allocations: 8 kB / 1.189 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/1.049, allocations: 51.88 kB / 1.189 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/1.049, allocations: 27.91 kB / 1.189 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/1.049, allocations: 15.98 kB / 1.189 GB, free: 12.81 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001889/1.049, allocations: 152.9 kB / 1.189 GB, free: 12.66 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/1.049, allocations: 0 / 1.189 GB, free: 12.66 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007042/1.05, allocations: 148 kB / 1.189 GB, free: 12.52 MB / 0.92 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.0002487/1.05, allocations: 151 kB / 1.189 GB, free: 12.36 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001791/1.052, allocations: 0.8747 MB / 1.19 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.052, allocations: 0 / 1.19 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004504/1.052, allocations: 252.5 kB / 1.191 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/1.053, allocations: 63.77 kB / 1.191 GB, free: 11.17 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/1.054, allocations: 0.74 MB / 1.191 GB, free: 10.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/1.055, allocations: 0.776 MB / 1.192 GB, free: 9.574 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/1.055, allocations: 43.42 kB / 1.192 GB, free: 9.531 MB / 0.92 GB Notification: Performance of SimCode: time 6.41e-07/1.055, allocations: 0 / 1.192 GB, free: 9.531 MB / 0.92 GB Notification: Performance of Templates: time 0.008369/1.063, allocations: 4.95 MB / 1.197 GB, free: 4.602 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches