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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001382/0.001383, allocations: 99.58 kB / 16.02 MB, free: 76 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.001771/0.001771, allocations: 183.2 kB / 16.92 MB, free: 6.918 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.546/1.546, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004839, allocations: 8 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8351, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.006085/0.8412, allocations: 2.435 MB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006337/0.8476, allocations: 2.077 MB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002799/0.8479, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.8482, allocations: 27.78 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.8494, allocations: 203.3 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.8507, allocations: 243.5 kB / 1.029 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008223/0.8516, allocations: 454.8 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.8528, allocations: 370.3 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.8531, allocations: 99.56 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.8537, allocations: 151.5 kB / 1.03 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.8537, allocations: 15.94 kB / 1.03 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.855, allocations: 475.2 kB / 1.03 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.8552, allocations: 87.77 kB / 1.03 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.8555, allocations: 125.2 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.8563, allocations: 369 kB / 1.031 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.8563, allocations: 8 kB / 1.031 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8563, allocations: 0 / 1.031 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.8564, allocations: 0 / 1.031 GB, free: 8.695 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.001321/0.8577, allocations: 0.5186 MB / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.8578, allocations: 12.03 kB / 1.031 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.8598, allocations: 132.5 kB / 1.031 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.8603, allocations: 255.5 kB / 1.032 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.8604, allocations: 20.8 kB / 1.032 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.8605, allocations: 20.12 kB / 1.032 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.8618, allocations: 405.9 kB / 1.032 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.8618, allocations: 0 / 1.032 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.8619, allocations: 8 kB / 1.032 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.089e-05/0.862, allocations: 27.92 kB / 1.032 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.8635, allocations: 383.7 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.8675, allocations: 1.757 MB / 1.034 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.869, allocations: 356.9 kB / 1.034 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.8697, allocations: 203.6 kB / 1.035 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.8699, allocations: 93.08 kB / 1.035 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.87, allocations: 42.48 kB / 1.035 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 3.647e-06/0.87, allocations: 0 / 1.035 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.01772/0.8877, allocations: 2.216 MB / 1.037 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.8879, allocations: 81.11 kB / 1.037 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.8882, allocations: 182.6 kB / 1.037 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.511e-05/0.8883, allocations: 29.7 kB / 1.037 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.8885, allocations: 144.4 kB / 1.037 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.8887, allocations: 118.2 kB / 1.037 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.8889, allocations: 37.7 kB / 1.037 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.8891, allocations: 334.8 kB / 1.038 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.8902, allocations: 271.8 kB / 1.038 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.8915, allocations: 365.4 kB / 1.038 GB, free: 360 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.894, allocations: 0.6385 MB / 1.039 GB, free: 15.68 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.894, allocations: 3.938 kB / 1.039 GB, free: 15.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002752/0.8968, allocations: 0.674 MB / 1.04 GB, free: 15 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.897, allocations: 160.8 kB / 1.04 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.897, allocations: 4 kB / 1.04 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.8971, allocations: 8 kB / 1.04 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.899, allocations: 155.7 kB / 1.04 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.899, allocations: 7.938 kB / 1.04 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00095/0.9, allocations: 67.91 kB / 1.04 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/0.9001, allocations: 16 kB / 1.04 GB, free: 14.55 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9001, allocations: 7.938 kB / 1.04 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002533/0.9026, allocations: 0.6169 MB / 1.041 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.9027, allocations: 0 / 1.041 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.9027, allocations: 4 kB / 1.041 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.9045, allocations: 155.8 kB / 1.041 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.9045, allocations: 4 kB / 1.041 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008631/0.9054, allocations: 64.05 kB / 1.041 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.9055, allocations: 15.98 kB / 1.041 GB, free: 13.69 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.000429/0.9059, allocations: 241 kB / 1.041 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.9061, allocations: 27.66 kB / 1.041 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/0.9091, allocations: 0.7075 MB / 1.042 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.9092, allocations: 7.938 kB / 1.042 GB, free: 12.69 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.9092, allocations: 0 / 1.042 GB, free: 12.69 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.9092, allocations: 3.984 kB / 1.042 GB, free: 12.69 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/0.9135, allocations: 1.39 MB / 1.043 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.9135, allocations: 0 / 1.043 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.9145, allocations: 119.8 kB / 1.043 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.9146, allocations: 4.25 kB / 1.043 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.9146, allocations: 16 kB / 1.043 GB, free: 11.06 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.9147, allocations: 4 kB / 1.043 GB, free: 11.06 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/0.9147, allocations: 11.92 kB / 1.043 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.9168, allocations: 0.7263 MB / 1.044 GB, free: 10.28 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.9171, allocations: 140.8 kB / 1.044 GB, free: 10.12 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/0.9173, allocations: 12 kB / 1.044 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007079/0.918, allocations: 43.94 kB / 1.044 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.9181, allocations: 35.89 kB / 1.044 GB, free: 10.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.9182, allocations: 15.98 kB / 1.044 GB, free: 10.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003385/0.9186, allocations: 148.4 kB / 1.044 GB, free: 9.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9186, allocations: 0 / 1.044 GB, free: 9.875 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001337/0.9199, allocations: 148 kB / 1.045 GB, free: 9.73 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.000391/0.9203, allocations: 143.1 kB / 1.045 GB, free: 9.582 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.9239, allocations: 0.9035 MB / 1.046 GB, free: 8.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.9239, allocations: 0 / 1.046 GB, free: 8.68 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000861/0.9248, allocations: 268.8 kB / 1.046 GB, free: 8.418 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009531/0.9258, allocations: 43.92 kB / 1.046 GB, free: 8.375 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.9284, allocations: 0.8561 MB / 1.047 GB, free: 7.465 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.9289, allocations: 0.7877 MB / 1.048 GB, free: 6.652 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.9291, allocations: 39.42 kB / 1.048 GB, free: 6.613 MB / 0.795 GB Notification: Performance of SimCode: time 1.102e-06/0.9291, allocations: 0 / 1.048 GB, free: 6.613 MB / 0.795 GB Notification: Performance of Templates: time 0.009785/0.9389, allocations: 4.907 MB / 1.052 GB, free: 1.723 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=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