Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.000781/0.000781, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005806/0.005806, allocations: 172 kB / 16.27 MB, free: 6.367 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.452/1.452, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.709/2.709, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 14.41 kB / 0.9028 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3351, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004529/0.3397, allocations: 3.086 MB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003687/0.3434, allocations: 2.15 MB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.3437, allocations: 7.938 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.344, allocations: 35.7 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008084/0.3448, allocations: 219.1 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009248/0.3457, allocations: 259.4 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000693/0.3464, allocations: 0.5375 MB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.3471, allocations: 345.4 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.3475, allocations: 119.5 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.3479, allocations: 175.2 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.348, allocations: 12 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.3489, allocations: 0.5068 MB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.349, allocations: 83.72 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.3492, allocations: 153 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008569/0.3501, allocations: 0.5218 MB / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3501, allocations: 0 / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3501, allocations: 0 / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.3501, allocations: 0 / 1.067 GB, free: 13.19 MB / 0.8262 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.001068/0.3512, allocations: 0.559 MB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3513, allocations: 16.03 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.3522, allocations: 124.4 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.3526, allocations: 275.7 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3526, allocations: 12.81 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.3527, allocations: 20.38 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.3534, allocations: 423.8 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3535, allocations: 4 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.3535, allocations: 12 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/0.3536, allocations: 36.53 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.3543, allocations: 357.9 kB / 1.068 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.3568, allocations: 2.065 MB / 1.07 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008383/0.3577, allocations: 362.7 kB / 1.071 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.3581, allocations: 193.6 kB / 1.071 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.3582, allocations: 93.09 kB / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3583, allocations: 34.56 kB / 1.071 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.724e-06/0.3583, allocations: 0 / 1.071 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.005457/0.3637, allocations: 1.748 MB / 1.073 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.3638, allocations: 85.33 kB / 1.073 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.3641, allocations: 240.9 kB / 1.073 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.3641, allocations: 29.7 kB / 1.073 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3643, allocations: 184.1 kB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-05/0.3644, allocations: 118.3 kB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.3644, allocations: 37.7 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3646, allocations: 334.8 kB / 1.074 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.365, allocations: 204.7 kB / 1.074 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.3655, allocations: 317.1 kB / 1.074 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009106/0.3664, allocations: 0.5279 MB / 1.075 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3664, allocations: 8 kB / 1.075 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001347/0.3678, allocations: 0.6682 MB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.3679, allocations: 184.7 kB / 1.076 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3679, allocations: 0 / 1.076 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005236/0.3685, allocations: 151.3 kB / 1.076 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.3689, allocations: 99.81 kB / 1.076 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.3719, allocations: 3.957 MB / 1.08 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.3723, allocations: 39.89 kB / 1.08 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.3723, allocations: 20 kB / 1.08 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.3723, allocations: 5.875 kB / 1.08 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001309/0.3736, allocations: 0.6314 MB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3737, allocations: 4 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004011/0.3741, allocations: 143.4 kB / 1.081 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.3745, allocations: 99.88 kB / 1.081 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006778/0.3752, allocations: 1.113 MB / 1.082 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.3755, allocations: 35.97 kB / 1.082 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.3755, allocations: 20 kB / 1.082 GB, free: 12.69 MB / 0.8419 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.0002644/0.3758, allocations: 257 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.3759, allocations: 23.72 kB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.3773, allocations: 0.6244 MB / 1.083 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3773, allocations: 4 kB / 1.083 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.3773, allocations: 8 kB / 1.083 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3773, allocations: 0 / 1.083 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.3797, allocations: 1.346 MB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3797, allocations: 4 kB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.38, allocations: 64.16 kB / 1.084 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.3804, allocations: 155.2 kB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.3805, allocations: 8 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.3834, allocations: 3.973 MB / 1.088 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3835, allocations: 4 kB / 1.088 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.3847, allocations: 0.7892 MB / 1.089 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.3849, allocations: 148.6 kB / 1.089 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.385, allocations: 8 kB / 1.089 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.3853, allocations: 39.95 kB / 1.089 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.3854, allocations: 31.97 kB / 1.089 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.3854, allocations: 8 kB / 1.089 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001754/0.3856, allocations: 172.5 kB / 1.089 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3856, allocations: 4 kB / 1.089 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007621/0.3864, allocations: 160 kB / 1.089 GB, free: 4.328 MB / 0.8419 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.0002403/0.3866, allocations: 143 kB / 1.09 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.3887, allocations: 1.207 MB / 1.091 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3888, allocations: 0 / 1.091 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000782/0.3895, allocations: 494.1 kB / 1.091 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.3902, allocations: 60.33 kB / 1.091 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3916, allocations: 0.9035 MB / 1.092 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.392, allocations: 0.8045 MB / 1.093 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003421/0.3923, allocations: 110.9 kB / 1.093 GB, free: 452 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.3924, allocations: 31.42 kB / 1.093 GB, free: 420 kB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3924, allocations: 0 / 1.093 GB, free: 420 kB / 0.8419 GB Notification: Performance of Templates: time 0.01101/0.4035, allocations: 5.648 MB / 1.099 GB, free: 10.81 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches