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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009709/0.0009711, allocations: 86.02 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.001126/0.001126, 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.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.949/2.949, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004262, allocations: 11.33 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3604, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004629/0.3651, allocations: 2.96 MB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.3686, allocations: 2.023 MB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.3688, allocations: 11.94 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.369, allocations: 39.7 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.3696, allocations: 171.2 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.3704, allocations: 222.8 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005192/0.3709, allocations: 442.5 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005473/0.3715, allocations: 317.5 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.3717, allocations: 127.5 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.372, allocations: 175.4 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.3721, allocations: 12 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005234/0.3726, allocations: 263.6 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3727, allocations: 87.77 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.3728, allocations: 73.52 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.3732, allocations: 375.1 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3732, allocations: 0 / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3732, allocations: 0 / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3733, allocations: 0 / 1.065 GB, free: 14.03 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.0008771/0.3741, allocations: 0.569 MB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3742, allocations: 12.03 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000867/0.3751, allocations: 119.5 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.3754, allocations: 270.4 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3754, allocations: 28.42 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.3755, allocations: 16 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.3762, allocations: 419.5 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3762, allocations: 3.984 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.3762, allocations: 11.98 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.3763, allocations: 32.53 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006231/0.3769, allocations: 357.9 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.3793, allocations: 2.054 MB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.3801, allocations: 363.3 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.3805, allocations: 206 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.3806, allocations: 85.28 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3806, allocations: 42.69 kB / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/0.3807, allocations: 0 / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.005145/0.3858, allocations: 1.743 MB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.3859, allocations: 89.42 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.3862, allocations: 232.9 kB / 1.072 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.3862, allocations: 33.7 kB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3863, allocations: 183.9 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.3865, allocations: 118.3 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.3865, allocations: 12 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3866, allocations: 334.8 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.387, allocations: 208.7 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.3875, allocations: 309.1 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.3879, allocations: 251.7 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3879, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001266/0.3892, allocations: 0.6655 MB / 1.074 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.3893, allocations: 182.1 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3894, allocations: 4 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005172/0.3899, allocations: 147.3 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.3903, allocations: 95.88 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.3932, allocations: 3.958 MB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.3935, allocations: 35.97 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.3936, allocations: 16 kB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.194e-06/0.3936, allocations: 8.125 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001226/0.3948, allocations: 0.616 MB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3948, allocations: 7.953 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.3952, allocations: 143.5 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.3956, allocations: 99.81 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006348/0.3962, allocations: 1.113 MB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.3966, allocations: 39.92 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.3966, allocations: 24.17 kB / 1.08 GB, free: 13.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002453/0.3969, allocations: 245 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.397, allocations: 27.62 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.3982, allocations: 0.6398 MB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3982, allocations: 4 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3983, allocations: 0 / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3983, allocations: 3.984 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.4004, allocations: 1.331 MB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4005, allocations: 11.97 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.4007, allocations: 59.95 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.4012, allocations: 159.2 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.4012, allocations: 12 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/0.4043, allocations: 3.957 MB / 1.086 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.4043, allocations: 8.062 kB / 1.086 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.4056, allocations: 0.7893 MB / 1.087 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.4058, allocations: 144.6 kB / 1.087 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.4058, allocations: 15.94 kB / 1.087 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.4061, allocations: 31.97 kB / 1.087 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.4062, allocations: 35.91 kB / 1.087 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.4063, allocations: 12 kB / 1.087 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001844/0.4065, allocations: 176.5 kB / 1.087 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4065, allocations: 0 / 1.087 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007945/0.4073, allocations: 156 kB / 1.088 GB, free: 5.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002285/0.4075, allocations: 143.1 kB / 1.088 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.4095, allocations: 1.206 MB / 1.089 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4095, allocations: 0 / 1.089 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006973/0.4102, allocations: 494.1 kB / 1.089 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.4108, allocations: 68.27 kB / 1.089 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.4121, allocations: 0.865 MB / 1.09 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.4125, allocations: 0.8045 MB / 1.091 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003315/0.4128, allocations: 114.9 kB / 1.091 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.4129, allocations: 27.42 kB / 1.091 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.4129, allocations: 0 / 1.091 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.0102/0.4231, allocations: 5.508 MB / 1.097 GB, free: 12.21 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