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.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.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.001127/0.001127, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008868/0.008868, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.514/1.514, allocations: 223.3 MB / 240.3 MB, free: 5.352 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 2.74/2.74, allocations: 437.7 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.0004123, allocations: 8 kB / 0.8728 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8135/0.8139, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004151/0.8181, allocations: 3.073 MB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003323/0.8215, allocations: 2.143 MB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.8216, allocations: 7.938 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.8218, allocations: 43.7 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005622/0.8224, allocations: 223.1 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.8231, allocations: 259.4 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.8236, allocations: 0.5297 MB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.8241, allocations: 347.1 kB / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.8243, allocations: 123.5 kB / 1.03 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.8246, allocations: 179.2 kB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.8246, allocations: 12 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007375/0.8253, allocations: 0.4912 MB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-05/0.8254, allocations: 95.7 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.8256, allocations: 145 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.8262, allocations: 0.5179 MB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8262, allocations: 0 / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8262, allocations: 4 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.8262, allocations: 0 / 1.031 GB, free: 7.641 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.0008758/0.8271, allocations: 0.5614 MB / 1.032 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.8271, allocations: 12.02 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008258/0.828, allocations: 124.4 kB / 1.032 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.8283, allocations: 276.2 kB / 1.032 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.8283, allocations: 16.81 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.8284, allocations: 24.36 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/0.8291, allocations: 431.8 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.8291, allocations: 0 / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.8292, allocations: 11.94 kB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/0.8293, allocations: 32.55 kB / 1.032 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/0.8299, allocations: 361.9 kB / 1.033 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.8323, allocations: 2.058 MB / 1.035 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007864/0.8331, allocations: 357 kB / 1.035 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.8335, allocations: 197.6 kB / 1.035 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.8336, allocations: 89.11 kB / 1.035 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.8337, allocations: 38.56 kB / 1.035 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.754e-06/0.8337, allocations: 0 / 1.035 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.005311/0.839, allocations: 1.765 MB / 1.037 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.8391, allocations: 85.05 kB / 1.037 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.8393, allocations: 228.9 kB / 1.037 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.8393, allocations: 33.7 kB / 1.037 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.8395, allocations: 180 kB / 1.038 GB, free: 392 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.371e-05/0.8396, allocations: 118.3 kB / 1.038 GB, free: 272 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.8396, allocations: 37.7 kB / 1.038 GB, free: 228 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8398, allocations: 342.8 kB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.8402, allocations: 200.7 kB / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.8406, allocations: 317 kB / 1.039 GB, free: 15.33 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008973/0.8415, allocations: 0.5319 MB / 1.039 GB, free: 14.76 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8416, allocations: 0 / 1.039 GB, free: 14.76 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00133/0.8429, allocations: 0.6759 MB / 1.04 GB, free: 14.06 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.843, allocations: 184.2 kB / 1.04 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.8431, allocations: 4 kB / 1.04 GB, free: 13.83 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005043/0.8436, allocations: 143.3 kB / 1.04 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.844, allocations: 107.7 kB / 1.04 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/0.847, allocations: 3.961 MB / 1.044 GB, free: 9.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.8473, allocations: 40.12 kB / 1.044 GB, free: 9.258 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.8474, allocations: 15.98 kB / 1.044 GB, free: 9.242 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.8474, allocations: 4 kB / 1.044 GB, free: 9.238 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001227/0.8486, allocations: 0.6279 MB / 1.045 GB, free: 8.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.8486, allocations: 4 kB / 1.045 GB, free: 8.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.849, allocations: 147.2 kB / 1.045 GB, free: 8.438 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.8494, allocations: 100 kB / 1.045 GB, free: 8.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006174/0.8501, allocations: 1.101 MB / 1.046 GB, free: 7.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.8504, allocations: 44.14 kB / 1.046 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.8504, allocations: 16 kB / 1.046 GB, free: 7.129 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.0002335/0.8506, allocations: 245 kB / 1.046 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.8507, allocations: 31.62 kB / 1.046 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.852, allocations: 0.6321 MB / 1.047 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.852, allocations: 4 kB / 1.047 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.852, allocations: 0 / 1.047 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.852, allocations: 3.984 kB / 1.047 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.8544, allocations: 1.353 MB / 1.048 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.8544, allocations: 0 / 1.048 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.8547, allocations: 67.89 kB / 1.048 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.8551, allocations: 159.5 kB / 1.049 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.8552, allocations: 16 kB / 1.049 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002886/0.858, allocations: 3.965 MB / 1.052 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8581, allocations: 4.031 kB / 1.052 GB, free: 184 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.8593, allocations: 0.789 MB / 1.053 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.8595, allocations: 140.6 kB / 1.053 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.8596, allocations: 15.98 kB / 1.053 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.8599, allocations: 35.97 kB / 1.053 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.8599, allocations: 31.95 kB / 1.053 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.86, allocations: 12 kB / 1.053 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001602/0.8601, allocations: 168.5 kB / 1.054 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8601, allocations: 0 / 1.054 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007312/0.8609, allocations: 160 kB / 1.054 GB, free: 14.77 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.0002186/0.8611, allocations: 143.1 kB / 1.054 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.8632, allocations: 1.194 MB / 1.055 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8632, allocations: 256 / 1.055 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007779/0.864, allocations: 498.4 kB / 1.056 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.8646, allocations: 60.34 kB / 1.056 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.866, allocations: 0.8996 MB / 1.056 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.8664, allocations: 0.8045 MB / 1.057 GB, free: 11 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003255/0.8667, allocations: 122.8 kB / 1.057 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.8e-05/0.8668, allocations: 27.44 kB / 1.057 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.8668, allocations: 0 / 1.057 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of Templates: time 0.0104/0.8772, allocations: 5.645 MB / 1.063 GB, free: 5.254 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/jenkins/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