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.001808/0.001808, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002296/0.002296, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.707/1.707, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.137/3.137, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 0.8692 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8247/0.8266, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.006283/0.833, allocations: 2.742 MB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004388/0.8374, allocations: 2.085 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.8377, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009782/0.8387, allocations: 231.1 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005634/0.8393, allocations: 211.1 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.8401, allocations: 283.1 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.8405, allocations: 319 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.8409, allocations: 154 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.8411, allocations: 127.6 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003497/0.8415, allocations: 155.5 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.8415, allocations: 23.94 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007827/0.8423, allocations: 419.2 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.8425, allocations: 91.77 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.8426, allocations: 115.4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.8434, allocations: 480.7 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.8434, allocations: 4 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8434, allocations: 0 / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.8434, allocations: 0 / 1.025 GB, free: 11.04 MB / 0.7794 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.001133/0.8446, allocations: 0.5653 MB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.8446, allocations: 8.031 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.8457, allocations: 128.5 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.8461, allocations: 256.4 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.8461, allocations: 16.8 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/0.8462, allocations: 20.12 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008021/0.847, allocations: 401.9 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.847, allocations: 4 kB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.8471, allocations: 8 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.8472, allocations: 27.98 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007756/0.8479, allocations: 375.6 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.8504, allocations: 1.741 MB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008195/0.8512, allocations: 360.9 kB / 1.028 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.8516, allocations: 185.6 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.8518, allocations: 93.08 kB / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.8518, allocations: 46.5 kB / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.234e-06/0.8518, allocations: 0 / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.009171/0.861, allocations: 2.048 MB / 1.031 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.8611, allocations: 81.11 kB / 1.031 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.8613, allocations: 187.1 kB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.8614, allocations: 33.7 kB / 1.031 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.8615, allocations: 140.4 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.8616, allocations: 122.2 kB / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.8618, allocations: 77.67 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.862, allocations: 334.8 kB / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006085/0.8626, allocations: 268.7 kB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.8633, allocations: 353.4 kB / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.8646, allocations: 0.6151 MB / 1.033 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8646, allocations: 3.938 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001476/0.8661, allocations: 0.662 MB / 1.033 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8661, allocations: 4 kB / 1.033 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8661, allocations: 4 kB / 1.033 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.8661, allocations: 4.281 kB / 1.033 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.8672, allocations: 155.8 kB / 1.034 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.8672, allocations: 11.88 kB / 1.034 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.8677, allocations: 55.91 kB / 1.034 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.8677, allocations: 16 kB / 1.034 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007064/0.8684, allocations: 371.9 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006393/0.8691, allocations: 333.9 kB / 1.034 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001257/0.8703, allocations: 0.5903 MB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/0.8704, allocations: 3.984 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001423/0.8718, allocations: 0.6376 MB / 1.036 GB, free: 15.26 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.8718, allocations: 13.5 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.8718, allocations: 0 / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-06/0.8718, allocations: 4 kB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009258/0.8728, allocations: 156 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8728, allocations: 4 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.8732, allocations: 51.92 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.8733, allocations: 16 kB / 1.036 GB, free: 15.02 MB / 0.795 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.0002102/0.8735, allocations: 206.1 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.8736, allocations: 27.7 kB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.8752, allocations: 0.6882 MB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.8752, allocations: 4 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8752, allocations: 0 / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.8752, allocations: 0 / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.8776, allocations: 1.371 MB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.413e-06/0.8777, allocations: 3.984 kB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.8783, allocations: 119.8 kB / 1.038 GB, free: 12.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.8783, allocations: 4 kB / 1.038 GB, free: 12.49 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.8783, allocations: 8 kB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.8783, allocations: 7.938 kB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8783, allocations: 256 / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.8795, allocations: 0.7112 MB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.8797, allocations: 132.9 kB / 1.039 GB, free: 11.58 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.8798, allocations: 16 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.8801, allocations: 43.88 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.8803, allocations: 31.91 kB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.8803, allocations: 8 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002034/0.8805, allocations: 160.3 kB / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8805, allocations: 3.938 kB / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006784/0.8812, allocations: 148 kB / 1.039 GB, free: 11.18 MB / 0.795 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.0002425/0.8814, allocations: 131.2 kB / 1.039 GB, free: 11.04 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.8834, allocations: 0.918 MB / 1.04 GB, free: 10.12 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8835, allocations: 3.938 kB / 1.04 GB, free: 10.12 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.884, allocations: 259.9 kB / 1.041 GB, free: 9.863 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.8845, allocations: 55.73 kB / 1.041 GB, free: 9.812 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.8859, allocations: 0.7123 MB / 1.041 GB, free: 9.051 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.8864, allocations: 0.7838 MB / 1.042 GB, free: 8.238 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005845/0.887, allocations: 174.8 kB / 1.042 GB, free: 8.066 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.8871, allocations: 31.42 kB / 1.042 GB, free: 8.035 MB / 0.795 GB Notification: Performance of SimCode: time 6.92e-07/0.8871, allocations: 3.938 kB / 1.042 GB, free: 8.031 MB / 0.795 GB Notification: Performance of Templates: time 0.01115/0.8983, allocations: 5.198 MB / 1.047 GB, free: 2.855 MB / 0.795 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=400 -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/jenkins/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