Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001048/0.001048, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001355/0.001355, allocations: 177.2 kB / 16.27 MB, free: 6.672 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.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.794/2.794, allocations: 390.9 MB / 0.6663 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8619/0.8623, allocations: 142.4 MB / 0.955 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003502/0.8659, allocations: 2.516 MB / 0.9575 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003197/0.8691, allocations: 2.072 MB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.8693, allocations: 6.688 kB / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.8695, allocations: 27.91 kB / 0.9596 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005596/0.87, allocations: 198.2 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.8707, allocations: 242.8 kB / 0.96 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000411/0.8711, allocations: 451.8 kB / 0.9604 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005811/0.8717, allocations: 366.8 kB / 0.9608 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.8718, allocations: 101.4 kB / 0.9609 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.8721, allocations: 152.5 kB / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.8722, allocations: 10.38 kB / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007483/0.8729, allocations: 477.8 kB / 0.9615 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.955e-05/0.8731, allocations: 89.48 kB / 0.9616 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.8732, allocations: 128.8 kB / 0.9617 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.8738, allocations: 495.1 kB / 0.9621 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8738, allocations: 4 kB / 0.9622 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8738, allocations: 0 / 0.9622 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8738, allocations: 0 / 0.9622 GB, free: 2.453 MB / 0.7169 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.0008292/0.8747, allocations: 0.5219 MB / 0.9627 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.8747, allocations: 9.188 kB / 0.9627 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009948/0.8757, allocations: 133.4 kB / 0.9628 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.876, allocations: 266.2 kB / 0.9631 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.876, allocations: 16.7 kB / 0.9631 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.8761, allocations: 24.17 kB / 0.9631 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.8768, allocations: 399.6 kB / 0.9635 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.8769, allocations: 1.188 kB / 0.9635 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.8769, allocations: 14.16 kB / 0.9635 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.8769, allocations: 20.55 kB / 0.9635 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007422/0.8777, allocations: 392 kB / 0.9639 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.8796, allocations: 1.739 MB / 0.9656 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.8804, allocations: 358.8 kB / 0.9659 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.8808, allocations: 195.5 kB / 0.9661 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.881, allocations: 92.7 kB / 0.9662 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.881, allocations: 37 kB / 0.9662 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 3.516e-06/0.8811, allocations: 4 kB / 0.9662 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.00959/0.8906, allocations: 2.217 MB / 0.9684 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.8907, allocations: 80.67 kB / 0.9685 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.8909, allocations: 179.9 kB / 0.9686 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.891, allocations: 35.2 kB / 0.9687 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/0.8911, allocations: 142.6 kB / 0.9688 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.8912, allocations: 125.6 kB / 0.9689 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.8913, allocations: 40.11 kB / 0.969 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8914, allocations: 328.9 kB / 0.9693 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.892, allocations: 268.5 kB / 0.9695 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/0.8927, allocations: 357.6 kB / 0.9699 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.894, allocations: 0.6381 MB / 0.9705 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8941, allocations: 5.719 kB / 0.9705 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001517/0.8956, allocations: 0.6854 MB / 0.9712 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.8957, allocations: 152.9 kB / 0.9713 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.8957, allocations: 7.094 kB / 0.9713 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.8957, allocations: 4.438 kB / 0.9713 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.8968, allocations: 155.7 kB / 0.9715 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.8968, allocations: 8.703 kB / 0.9715 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.8974, allocations: 63.73 kB / 0.9716 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.8974, allocations: 16.55 kB / 0.9716 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8974, allocations: 8.188 kB / 0.9716 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/0.8988, allocations: 0.6224 MB / 0.9722 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.8988, allocations: 2.312 kB / 0.9722 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.8988, allocations: 3.375 kB / 0.9722 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009216/0.8998, allocations: 154.4 kB / 0.9723 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.8998, allocations: 9.219 kB / 0.9723 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.9003, allocations: 62.95 kB / 0.9724 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.9003, allocations: 11.41 kB / 0.9724 GB, free: 11.4 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002846/0.9006, allocations: 238.6 kB / 0.9726 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.9007, allocations: 31.16 kB / 0.9727 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.9023, allocations: 0.7154 MB / 0.9734 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.9024, allocations: 4.344 kB / 0.9734 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9024, allocations: 0 / 0.9734 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.9024, allocations: 5.484 kB / 0.9734 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.9048, allocations: 1.388 MB / 0.9747 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.9049, allocations: 1.062 kB / 0.9747 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006209/0.9055, allocations: 120.9 kB / 0.9749 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.9055, allocations: 10.89 kB / 0.9749 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.9055, allocations: 8.156 kB / 0.9749 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.9056, allocations: 9.031 kB / 0.9749 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.9056, allocations: 5.156 kB / 0.9749 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.9068, allocations: 0.7271 MB / 0.9756 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.907, allocations: 137.2 kB / 0.9757 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.907, allocations: 8.156 kB / 0.9757 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.9074, allocations: 53.69 kB / 0.9758 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.9075, allocations: 29.38 kB / 0.9758 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.9075, allocations: 9.531 kB / 0.9758 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000191/0.9077, allocations: 152.9 kB / 0.976 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9078, allocations: 0 / 0.976 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007861/0.9085, allocations: 146.2 kB / 0.9761 GB, free: 8.816 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000229/0.9088, allocations: 137.7 kB / 0.9762 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.9107, allocations: 0.9143 MB / 0.9771 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9107, allocations: 3.938 kB / 0.9771 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004851/0.9112, allocations: 265.4 kB / 0.9774 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.9118, allocations: 49.78 kB / 0.9774 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.9131, allocations: 0.8222 MB / 0.9782 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.9136, allocations: 0.7838 MB / 0.979 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006069/0.9142, allocations: 190.7 kB / 0.9792 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.9144, allocations: 31.42 kB / 0.9792 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of SimCode: time 7.72e-07/0.9144, allocations: 0 / 0.9792 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of Templates: time 0.01008/0.9245, allocations: 4.881 MB / 0.984 GB, free: 0.9648 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches