Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 92.16 kB / 16.02 MB, free: 80 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.001696/0.001696, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.328 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.771/2.771, allocations: 437.8 MB / 0.7128 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 12 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6482/0.6486, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003991/0.6526, allocations: 3.077 MB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003269/0.6559, allocations: 2.143 MB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.6561, allocations: 7.938 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.6563, allocations: 35.7 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006327/0.657, allocations: 231.1 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.6577, allocations: 256.5 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.6583, allocations: 0.5376 MB / 1.03 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005539/0.6589, allocations: 342.3 kB / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.6591, allocations: 123.5 kB / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.6595, allocations: 179.2 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.6595, allocations: 8 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007404/0.6603, allocations: 0.5029 MB / 1.031 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.6604, allocations: 79.73 kB / 1.031 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.6605, allocations: 153 kB / 1.031 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.6611, allocations: 387 kB / 1.032 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6611, allocations: 0 / 1.032 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6611, allocations: 0 / 1.032 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.6611, allocations: 4 kB / 1.032 GB, free: 7.754 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000912/0.662, allocations: 0.5614 MB / 1.032 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.6621, allocations: 8.031 kB / 1.032 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008919/0.663, allocations: 128.4 kB / 1.032 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.6633, allocations: 280.2 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.6633, allocations: 16.81 kB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.6634, allocations: 24.36 kB / 1.033 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.6641, allocations: 427.8 kB / 1.033 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6641, allocations: 0 / 1.033 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.6642, allocations: 8 kB / 1.033 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/0.6642, allocations: 36.53 kB / 1.033 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006796/0.6649, allocations: 357.9 kB / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.6673, allocations: 2.054 MB / 1.035 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.6681, allocations: 367.9 kB / 1.036 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.6686, allocations: 197.6 kB / 1.036 GB, free: 3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.6687, allocations: 85.09 kB / 1.036 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.6687, allocations: 42.56 kB / 1.036 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.6687, allocations: 0 / 1.036 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.005386/0.6741, allocations: 1.753 MB / 1.038 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.6742, allocations: 93.03 kB / 1.038 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.6744, allocations: 228.9 kB / 1.038 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.6745, allocations: 33.7 kB / 1.038 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.6746, allocations: 180 kB / 1.038 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.6747, allocations: 114.3 kB / 1.038 GB, free: 396 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.6747, allocations: 45.62 kB / 1.038 GB, free: 344 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6749, allocations: 338.9 kB / 1.039 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.6753, allocations: 200.7 kB / 1.039 GB, free: 15.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004661/0.6758, allocations: 317 kB / 1.039 GB, free: 15.45 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009095/0.6767, allocations: 0.5319 MB / 1.04 GB, free: 14.88 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6767, allocations: 0 / 1.04 GB, free: 14.88 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001355/0.6781, allocations: 0.6797 MB / 1.04 GB, free: 14.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.6782, allocations: 176.3 kB / 1.041 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6782, allocations: 4 kB / 1.041 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005017/0.6787, allocations: 143.3 kB / 1.041 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.6791, allocations: 111.8 kB / 1.041 GB, free: 13.69 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.682, allocations: 3.954 MB / 1.045 GB, free: 9.422 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.6824, allocations: 44.11 kB / 1.045 GB, free: 9.379 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.6824, allocations: 12 kB / 1.045 GB, free: 9.367 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.6824, allocations: 4 kB / 1.045 GB, free: 9.363 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.6837, allocations: 0.6318 MB / 1.045 GB, free: 8.719 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.6838, allocations: 7.984 kB / 1.045 GB, free: 8.711 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.6842, allocations: 139.3 kB / 1.045 GB, free: 8.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.6846, allocations: 96.03 kB / 1.046 GB, free: 8.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006059/0.6852, allocations: 1.105 MB / 1.047 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.6856, allocations: 44.14 kB / 1.047 GB, free: 7.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.6856, allocations: 16 kB / 1.047 GB, free: 7.254 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002306/0.6858, allocations: 252.9 kB / 1.047 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.6859, allocations: 31.62 kB / 1.047 GB, free: 6.965 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.6872, allocations: 0.6283 MB / 1.048 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6873, allocations: 4 kB / 1.048 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6873, allocations: 0 / 1.048 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6873, allocations: 0 / 1.048 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.6896, allocations: 1.362 MB / 1.049 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6896, allocations: 0 / 1.049 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.6899, allocations: 63.89 kB / 1.049 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/0.6903, allocations: 163.5 kB / 1.049 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.6904, allocations: 12 kB / 1.049 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/0.6931, allocations: 3.965 MB / 1.053 GB, free: 312 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6931, allocations: 0 / 1.053 GB, free: 312 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.6944, allocations: 0.7975 MB / 1.054 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.6945, allocations: 144.6 kB / 1.054 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.6946, allocations: 8 kB / 1.054 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.6949, allocations: 35.97 kB / 1.054 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.695, allocations: 35.95 kB / 1.054 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.695, allocations: 8 kB / 1.054 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001598/0.6952, allocations: 172.5 kB / 1.054 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6952, allocations: 3.938 kB / 1.054 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007543/0.696, allocations: 164 kB / 1.054 GB, free: 14.88 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002082/0.6962, allocations: 139.1 kB / 1.054 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002048/0.6982, allocations: 1.186 MB / 1.056 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6983, allocations: 4 kB / 1.056 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007491/0.699, allocations: 494.9 kB / 1.056 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.6997, allocations: 64.33 kB / 1.056 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.701, allocations: 0.932 MB / 1.057 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.7014, allocations: 0.8084 MB / 1.058 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.7015, allocations: 35.31 kB / 1.058 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.7015, allocations: 0 / 1.058 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of Templates: time 0.01245/0.714, allocations: 8.952 MB / 1.067 GB, free: 2.098 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches