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.001151/0.001151, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001366/0.001366, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.402 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.688/2.688, allocations: 437.8 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006576/0.0006578, allocations: 12 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003186/1.018, allocations: 2.353 MB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002831/1.021, allocations: 1.872 MB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/1.021, allocations: 3.938 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001629/1.021, allocations: 27.78 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004385/1.021, allocations: 139.4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/1.022, allocations: 215.5 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004312/1.023, allocations: 362.9 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006724/1.023, allocations: 350.5 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/1.023, allocations: 107.6 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/1.024, allocations: 147.5 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/1.024, allocations: 8 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/1.024, allocations: 255.6 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/1.024, allocations: 83.77 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/1.024, allocations: 61.64 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004658/1.025, allocations: 349 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/1.025, allocations: 4 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.555e-06/1.025, allocations: 0 / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.745e-06/1.025, allocations: 0 / 1.029 GB, free: 9.652 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.001134/1.026, allocations: 0.5224 MB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/1.026, allocations: 8.562 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/1.027, allocations: 107.5 kB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/1.027, allocations: 251.8 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/1.027, allocations: 12.44 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/1.027, allocations: 20 kB / 1.029 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/1.028, allocations: 385.9 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.028, allocations: 7.938 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/1.028, allocations: 12 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/1.028, allocations: 23.98 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00064/1.029, allocations: 363.7 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/1.031, allocations: 1.745 MB / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/1.032, allocations: 352.7 kB / 1.032 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/1.032, allocations: 189.6 kB / 1.032 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/1.032, allocations: 85.11 kB / 1.033 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/1.032, allocations: 46.48 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/1.032, allocations: 0 / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.006647/1.039, allocations: 2.079 MB / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/1.039, allocations: 81.11 kB / 1.035 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/1.039, allocations: 170.7 kB / 1.035 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/1.039, allocations: 33.7 kB / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/1.039, allocations: 144.4 kB / 1.035 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-05/1.039, allocations: 122.2 kB / 1.035 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/1.039, allocations: 16 kB / 1.035 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.04, allocations: 330.8 kB / 1.035 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/1.04, allocations: 255.8 kB / 1.036 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/1.041, allocations: 349.4 kB / 1.036 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/1.041, allocations: 297.2 kB / 1.036 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.041, allocations: 0 / 1.036 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001121/1.042, allocations: 0.6585 MB / 1.037 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.042, allocations: 152.9 kB / 1.037 GB, free: 476 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.042, allocations: 4 kB / 1.037 GB, free: 472 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.042, allocations: 8 kB / 1.037 GB, free: 464 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/1.043, allocations: 151.8 kB / 1.037 GB, free: 312 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/1.043, allocations: 4 kB / 1.037 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/1.044, allocations: 59.86 kB / 1.037 GB, free: 248 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/1.044, allocations: 20 kB / 1.037 GB, free: 228 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/1.044, allocations: 4 kB / 1.037 GB, free: 224 kB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001065/1.045, allocations: 0.5857 MB / 1.038 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.045, allocations: 4 kB / 1.038 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/1.045, allocations: 8 kB / 1.038 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007394/1.045, allocations: 163.9 kB / 1.038 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.045, allocations: 4 kB / 1.038 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/1.046, allocations: 47.94 kB / 1.038 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/1.046, allocations: 19.98 kB / 1.038 GB, free: 15.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002408/1.046, allocations: 237 kB / 1.038 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/1.046, allocations: 27.72 kB / 1.038 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/1.048, allocations: 0.6921 MB / 1.039 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/1.048, allocations: 7.953 kB / 1.039 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.048, allocations: 0 / 1.039 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.048, allocations: 0 / 1.039 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/1.05, allocations: 1.379 MB / 1.04 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.05, allocations: 4.25 kB / 1.04 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/1.051, allocations: 127.8 kB / 1.041 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/1.051, allocations: 4 kB / 1.041 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/1.051, allocations: 8 kB / 1.041 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/1.051, allocations: 11.92 kB / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.051, allocations: 0 / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/1.052, allocations: 0.738 MB / 1.041 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/1.052, allocations: 140.8 kB / 1.041 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/1.052, allocations: 12 kB / 1.041 GB, free: 11.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/1.052, allocations: 39.95 kB / 1.041 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/1.052, allocations: 27.95 kB / 1.041 GB, free: 11.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/1.052, allocations: 16 kB / 1.042 GB, free: 11.75 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001487/1.052, allocations: 148 kB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.01e-07/1.052, allocations: 4 kB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006718/1.053, allocations: 144 kB / 1.042 GB, free: 11.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002328/1.053, allocations: 135.1 kB / 1.042 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001591/1.055, allocations: 0.8828 MB / 1.043 GB, free: 10.44 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.055, allocations: 3.938 kB / 1.043 GB, free: 10.44 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004868/1.056, allocations: 264.8 kB / 1.043 GB, free: 10.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/1.056, allocations: 44.09 kB / 1.043 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/1.058, allocations: 0.8228 MB / 1.044 GB, free: 9.27 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/1.058, allocations: 0.7838 MB / 1.045 GB, free: 8.461 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005206/1.058, allocations: 158.8 kB / 1.045 GB, free: 8.305 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/1.059, allocations: 31.42 kB / 1.045 GB, free: 8.273 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/1.059, allocations: 4 kB / 1.045 GB, free: 8.27 MB / 0.795 GB Notification: Performance of Templates: time 0.008778/1.067, allocations: 4.377 MB / 1.049 GB, free: 3.914 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/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