Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009553/0.0009554, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001163/0.001163, allocations: 172.7 kB / 15.95 MB, free: 208 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.486/1.486, allocations: 223.3 MB / 240 MB, free: 5.336 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.822/2.822, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005766/0.0005768, allocations: 8 kB / 0.8722 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8031/0.8037, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003435/0.8072, allocations: 2.431 MB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.8101, allocations: 1.86 MB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.8102, allocations: 7.938 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.8104, allocations: 27.78 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004975/0.8109, allocations: 147.3 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.8116, allocations: 207.5 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.812, allocations: 363 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006555/0.8127, allocations: 354.4 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.8128, allocations: 103.7 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.8131, allocations: 147.5 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.8132, allocations: 12 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.8137, allocations: 251.7 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.8138, allocations: 87.75 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.8139, allocations: 61.58 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.8143, allocations: 341.2 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.8143, allocations: 0 / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8143, allocations: 3.938 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.8143, allocations: 0 / 1.029 GB, free: 9.656 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.000913/0.8152, allocations: 0.5185 MB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.8153, allocations: 12.56 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006843/0.816, allocations: 107.6 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.8163, allocations: 251.9 kB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.8163, allocations: 16.44 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.8164, allocations: 23.98 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.817, allocations: 381.9 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.817, allocations: 4 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.8171, allocations: 11.98 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.8171, allocations: 19.98 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006594/0.8178, allocations: 371.6 kB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.8198, allocations: 1.745 MB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.8205, allocations: 340.8 kB / 1.032 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.8208, allocations: 193.6 kB / 1.032 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.821, allocations: 89.11 kB / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.821, allocations: 34.55 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.821, allocations: 0 / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.006716/0.8277, allocations: 2.083 MB / 1.035 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.8278, allocations: 81.11 kB / 1.035 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.828, allocations: 174.7 kB / 1.035 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.8281, allocations: 37.64 kB / 1.035 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.8282, allocations: 148.4 kB / 1.035 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.8283, allocations: 130.1 kB / 1.035 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.8283, allocations: 4 kB / 1.035 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8285, allocations: 334.8 kB / 1.036 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.8289, allocations: 255.8 kB / 1.036 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.8295, allocations: 353.4 kB / 1.036 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.83, allocations: 297.2 kB / 1.036 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.83, allocations: 0 / 1.036 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001154/0.8312, allocations: 0.6507 MB / 1.037 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.8313, allocations: 157 kB / 1.037 GB, free: 480 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.8313, allocations: 4 kB / 1.037 GB, free: 476 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8313, allocations: 7.938 kB / 1.037 GB, free: 468 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008213/0.8322, allocations: 155.8 kB / 1.037 GB, free: 312 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.8322, allocations: 4 kB / 1.037 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.8326, allocations: 59.92 kB / 1.037 GB, free: 248 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.8326, allocations: 12 kB / 1.037 GB, free: 236 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.8326, allocations: 4 kB / 1.037 GB, free: 232 kB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001079/0.8337, allocations: 0.5896 MB / 1.038 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.8337, allocations: 0 / 1.038 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.8337, allocations: 4 kB / 1.038 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.8345, allocations: 156 kB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.8345, allocations: 4 kB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.8348, allocations: 55.94 kB / 1.038 GB, free: 15.42 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.8349, allocations: 20.03 kB / 1.038 GB, free: 15.4 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.0002285/0.8351, allocations: 241 kB / 1.038 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.8352, allocations: 27.7 kB / 1.038 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.8365, allocations: 0.6843 MB / 1.039 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.8366, allocations: 7.953 kB / 1.039 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.8366, allocations: 4 kB / 1.039 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.8366, allocations: 0 / 1.039 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.8387, allocations: 1.391 MB / 1.04 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.8387, allocations: 4.062 kB / 1.04 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.8392, allocations: 119.8 kB / 1.041 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/0.8393, allocations: 4 kB / 1.041 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.8393, allocations: 12 kB / 1.041 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.8393, allocations: 7.984 kB / 1.041 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8393, allocations: 7.938 kB / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009885/0.8403, allocations: 0.7341 MB / 1.041 GB, free: 12.01 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.8405, allocations: 140.8 kB / 1.041 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.8405, allocations: 8 kB / 1.041 GB, free: 11.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.8408, allocations: 43.95 kB / 1.042 GB, free: 11.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.8409, allocations: 35.89 kB / 1.042 GB, free: 11.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.841, allocations: 8 kB / 1.042 GB, free: 11.76 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001449/0.8411, allocations: 148 kB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8411, allocations: 0 / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000718/0.8419, allocations: 144 kB / 1.042 GB, free: 11.47 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.0002524/0.8421, allocations: 139.1 kB / 1.042 GB, free: 11.33 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.8437, allocations: 0.8751 MB / 1.043 GB, free: 10.45 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8437, allocations: 0 / 1.043 GB, free: 10.45 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.8442, allocations: 268.8 kB / 1.043 GB, free: 10.19 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.8448, allocations: 43.11 kB / 1.043 GB, free: 10.15 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.8461, allocations: 0.8247 MB / 1.044 GB, free: 9.281 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.8465, allocations: 0.7838 MB / 1.045 GB, free: 8.473 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005079/0.847, allocations: 170.8 kB / 1.045 GB, free: 8.305 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.8472, allocations: 39.42 kB / 1.045 GB, free: 8.266 MB / 0.795 GB Notification: Performance of SimCode: time 7.92e-07/0.8472, allocations: 0 / 1.045 GB, free: 8.266 MB / 0.795 GB Notification: Performance of Templates: time 0.008909/0.8561, allocations: 4.38 MB / 1.049 GB, free: 3.914 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches