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.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001694/0.001694, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.722/1.722, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.197/3.197, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 67.89 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004885/1.022, allocations: 2.796 MB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003668/1.026, allocations: 2.12 MB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/1.026, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008373/1.027, allocations: 215.2 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005484/1.027, allocations: 211.3 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/1.028, allocations: 239.5 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005324/1.028, allocations: 450.8 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/1.029, allocations: 150 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/1.029, allocations: 111.6 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/1.029, allocations: 159.5 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/1.029, allocations: 12 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008367/1.03, allocations: 483.1 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/1.03, allocations: 91.77 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/1.031, allocations: 111.4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000691/1.031, allocations: 496.5 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.031, allocations: 4 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/1.031, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.741e-06/1.031, allocations: 0 / 1.024 GB, free: 11.12 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.001131/1.032, allocations: 0.5577 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.033, allocations: 12.03 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/1.034, allocations: 128.4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/1.034, allocations: 256.4 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/1.034, allocations: 12.81 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/1.034, allocations: 28.11 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/1.035, allocations: 397.9 kB / 1.025 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/1.035, allocations: 7.938 kB / 1.025 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/1.035, allocations: 4 kB / 1.025 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/1.035, allocations: 27.98 kB / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008063/1.036, allocations: 371.7 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/1.038, allocations: 1.749 MB / 1.027 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/1.039, allocations: 356.9 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/1.039, allocations: 185.6 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/1.04, allocations: 93.08 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/1.04, allocations: 46.5 kB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.933e-06/1.04, allocations: 0 / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.009644/1.049, allocations: 2.042 MB / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.049, allocations: 85.11 kB / 1.03 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/1.05, allocations: 182.6 kB / 1.03 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/1.05, allocations: 33.7 kB / 1.03 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.05, allocations: 148.4 kB / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/1.05, allocations: 122.2 kB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/1.05, allocations: 73.69 kB / 1.031 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.05, allocations: 334.8 kB / 1.031 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/1.051, allocations: 268.6 kB / 1.031 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/1.052, allocations: 353.4 kB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/1.053, allocations: 0.619 MB / 1.032 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.053, allocations: 3.938 kB / 1.032 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001487/1.054, allocations: 0.6582 MB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.054, allocations: 4 kB / 1.033 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.054, allocations: 4 kB / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.054, allocations: 4 kB / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.055, allocations: 164 kB / 1.033 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.055, allocations: 4 kB / 1.033 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/1.056, allocations: 51.92 kB / 1.033 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/1.056, allocations: 19.98 kB / 1.033 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000818/1.057, allocations: 371.9 kB / 1.034 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006426/1.058, allocations: 337.9 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001245/1.059, allocations: 0.5942 MB / 1.034 GB, free: 15.99 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/1.059, allocations: 4 kB / 1.034 GB, free: 15.99 MB / 0.795 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001486/1.06, allocations: 0.6298 MB / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.06, allocations: 8 kB / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.06, allocations: 0 / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/1.06, allocations: 8 kB / 1.035 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009415/1.061, allocations: 147.8 kB / 1.035 GB, free: 15.19 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.061, allocations: 8.125 kB / 1.035 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/1.062, allocations: 55.92 kB / 1.035 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/1.062, allocations: 19.98 kB / 1.035 GB, free: 15.11 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.0002921/1.062, allocations: 200.1 kB / 1.035 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/1.062, allocations: 23.72 kB / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/1.064, allocations: 0.6882 MB / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/1.064, allocations: 4 kB / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.064, allocations: 3.984 kB / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.064, allocations: 0 / 1.036 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/1.067, allocations: 1.375 MB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.067, allocations: 0 / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/1.067, allocations: 123.8 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/1.067, allocations: 4 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/1.067, allocations: 8 kB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/1.067, allocations: 11.88 kB / 1.038 GB, free: 12.56 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.067, allocations: 3.938 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/1.068, allocations: 0.7109 MB / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/1.069, allocations: 132.9 kB / 1.038 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/1.069, allocations: 15.91 kB / 1.038 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/1.069, allocations: 43.88 kB / 1.039 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.069, allocations: 31.91 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/1.069, allocations: 12 kB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002291/1.07, allocations: 156.2 kB / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/1.07, allocations: 0 / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008197/1.07, allocations: 144 kB / 1.039 GB, free: 11.27 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.0002862/1.071, allocations: 133.5 kB / 1.039 GB, free: 11.13 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001901/1.073, allocations: 0.8673 MB / 1.04 GB, free: 10.26 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.073, allocations: 0 / 1.04 GB, free: 10.26 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004944/1.073, allocations: 256.2 kB / 1.04 GB, free: 10.01 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/1.074, allocations: 44.61 kB / 1.04 GB, free: 9.969 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/1.075, allocations: 0.8179 MB / 1.041 GB, free: 9.102 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/1.076, allocations: 0.7838 MB / 1.042 GB, free: 8.293 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006518/1.077, allocations: 174.8 kB / 1.042 GB, free: 8.121 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/1.077, allocations: 31.42 kB / 1.042 GB, free: 8.09 MB / 0.795 GB Notification: Performance of SimCode: time 8.02e-07/1.077, allocations: 0 / 1.042 GB, free: 8.09 MB / 0.795 GB Notification: Performance of Templates: time 0.0117/1.089, allocations: 4.947 MB / 1.047 GB, free: 3.164 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