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.001515/0.001515, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001637/0.001637, allocations: 195.8 kB / 16.26 MB, free: 6.621 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.636/1.636, allocations: 222.9 MB / 239.9 MB, free: 4.578 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.098/3.098, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 63.91 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9914/0.994, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.006138/1, allocations: 2.797 MB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00418/1.004, allocations: 2.069 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/1.005, allocations: 3.938 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/1.006, allocations: 219.3 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008118/1.007, allocations: 199.3 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009607/1.008, allocations: 247.5 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006136/1.008, allocations: 319 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/1.009, allocations: 178 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003133/1.009, allocations: 119.6 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/1.009, allocations: 163.5 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/1.01, allocations: 24 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008749/1.01, allocations: 415.2 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/1.011, allocations: 91.77 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/1.011, allocations: 119.4 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009315/1.012, allocations: 0.5005 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.012, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/1.012, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.492e-06/1.012, allocations: 0 / 1.024 GB, free: 11.25 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.001177/1.013, allocations: 0.5614 MB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.013, allocations: 8.031 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/1.014, allocations: 128.5 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/1.014, allocations: 263.6 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/1.014, allocations: 16.8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/1.015, allocations: 20.12 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008011/1.015, allocations: 393.9 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/1.015, allocations: 0 / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/1.015, allocations: 12 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/1.016, allocations: 19.98 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/1.016, allocations: 387.5 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/1.019, allocations: 1.737 MB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/1.02, allocations: 356.9 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/1.02, allocations: 189.6 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/1.02, allocations: 93.08 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/1.02, allocations: 38.56 kB / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 6.011e-06/1.02, allocations: 0 / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.01013/1.031, allocations: 2.063 MB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.031, allocations: 85.11 kB / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/1.031, allocations: 178.6 kB / 1.03 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.013e-05/1.031, allocations: 33.7 kB / 1.03 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/1.031, allocations: 144.4 kB / 1.031 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/1.032, allocations: 122.2 kB / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/1.032, allocations: 77.69 kB / 1.031 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002741/1.032, allocations: 330.8 kB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/1.033, allocations: 268.7 kB / 1.031 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/1.034, allocations: 349.4 kB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/1.035, allocations: 0.6228 MB / 1.032 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/1.035, allocations: 7.938 kB / 1.032 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00162/1.037, allocations: 0.6581 MB / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.037, allocations: 8 kB / 1.033 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.037, allocations: 0 / 1.033 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/1.037, allocations: 4 kB / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/1.038, allocations: 156 kB / 1.033 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/1.038, allocations: 7.938 kB / 1.033 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/1.039, allocations: 55.92 kB / 1.033 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/1.039, allocations: 19.98 kB / 1.033 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007583/1.04, allocations: 368 kB / 1.034 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006624/1.04, allocations: 341.8 kB / 1.034 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001248/1.042, allocations: 0.5903 MB / 1.034 GB, free: 128 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/1.042, allocations: 0 / 1.034 GB, free: 128 kB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00148/1.043, allocations: 0.6376 MB / 1.035 GB, free: 15.48 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.043, allocations: 7.938 kB / 1.035 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.043, allocations: 4 kB / 1.035 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/1.043, allocations: 4 kB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009245/1.044, allocations: 148 kB / 1.035 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.044, allocations: 8 kB / 1.035 GB, free: 15.31 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/1.045, allocations: 51.92 kB / 1.035 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/1.045, allocations: 19.98 kB / 1.035 GB, free: 15.24 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.0002411/1.045, allocations: 200.1 kB / 1.035 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.045, allocations: 31.72 kB / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/1.047, allocations: 0.6804 MB / 1.036 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/1.047, allocations: 4 kB / 1.036 GB, free: 14.31 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.047, allocations: 3.984 kB / 1.036 GB, free: 14.31 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.047, allocations: 4 kB / 1.036 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/1.049, allocations: 1.371 MB / 1.038 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.049, allocations: 0 / 1.038 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/1.05, allocations: 123.8 kB / 1.038 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/1.05, allocations: 4 kB / 1.038 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/1.05, allocations: 8 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/1.05, allocations: 7.938 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.05, allocations: 7.984 kB / 1.038 GB, free: 12.69 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/1.051, allocations: 0.707 MB / 1.038 GB, free: 11.94 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/1.051, allocations: 136.9 kB / 1.038 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/1.051, allocations: 8 kB / 1.038 GB, free: 11.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/1.052, allocations: 47.88 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/1.052, allocations: 31.91 kB / 1.039 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/1.052, allocations: 12 kB / 1.039 GB, free: 11.69 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002102/1.052, allocations: 152.3 kB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/1.052, allocations: 0 / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007457/1.053, allocations: 148 kB / 1.039 GB, free: 11.4 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.0003241/1.053, allocations: 135.2 kB / 1.039 GB, free: 11.26 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.055, allocations: 0.918 MB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.055, allocations: 7.875 kB / 1.04 GB, free: 10.33 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/1.056, allocations: 256.2 kB / 1.04 GB, free: 10.08 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/1.056, allocations: 58.34 kB / 1.04 GB, free: 10.03 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/1.058, allocations: 0.812 MB / 1.041 GB, free: 9.168 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/1.059, allocations: 0.7838 MB / 1.042 GB, free: 8.359 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006526/1.059, allocations: 170.8 kB / 1.042 GB, free: 8.191 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/1.059, allocations: 27.44 kB / 1.042 GB, free: 8.164 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/1.059, allocations: 0 / 1.042 GB, free: 8.164 MB / 0.795 GB Notification: Performance of Templates: time 0.01088/1.07, allocations: 5.131 MB / 1.047 GB, free: 3.055 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