Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,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.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,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.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008749/0.0008749, allocations: 97.41 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.00707/0.00707, allocations: 169.5 kB / 16.26 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.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.489/2.489, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.838, allocations: 142.4 MB / 0.955 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.005659/0.8437, allocations: 5.081 MB / 0.96 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006307/0.85, allocations: 4.082 MB / 0.964 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006083/0.8507, allocations: 15.91 kB / 0.964 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.851, allocations: 100.5 kB / 0.9641 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.8534, allocations: 0.6343 MB / 0.9647 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.8556, allocations: 0.4907 MB / 0.9652 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002553/0.8582, allocations: 1.631 MB / 0.9668 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.8596, allocations: 0.6989 MB / 0.9675 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007794/0.8604, allocations: 390.2 kB / 0.9678 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009387/0.8614, allocations: 0.5275 MB / 0.9684 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.8615, allocations: 35.28 kB / 0.9684 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.8637, allocations: 1.005 MB / 0.9694 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/0.8641, allocations: 307 kB / 0.9697 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.8646, allocations: 415.3 kB / 0.9701 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.8666, allocations: 1.413 MB / 0.9714 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8666, allocations: 1.188 kB / 0.9714 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8666, allocations: 0 / 0.9714 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.8667, allocations: 0 / 0.9714 GB, free: 11.77 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001991/0.8687, allocations: 1.018 MB / 0.9724 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8687, allocations: 9.188 kB / 0.9725 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.8792, allocations: 1.716 MB / 0.9741 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.8805, allocations: 0.6234 MB / 0.9747 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.8805, allocations: 45.7 kB / 0.9748 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.8807, allocations: 66.95 kB / 0.9748 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/0.8862, allocations: 1.932 MB / 0.9767 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.8863, allocations: 2.656 kB / 0.9767 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.8864, allocations: 26.8 kB / 0.9768 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003619/0.8868, allocations: 155.7 kB / 0.9769 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008517/0.8953, allocations: 2.634 MB / 0.9795 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.9071, allocations: 6.68 MB / 0.986 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/0.9107, allocations: 1.269 MB / 0.9872 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/0.9134, allocations: 0.9109 MB / 0.9881 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002288/0.9157, allocations: 1.499 MB / 0.9896 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.9157, allocations: 42.5 kB / 0.9896 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 2.155e-06/0.9157, allocations: 0 / 0.9896 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.03077/0.9465, allocations: 8.396 MB / 0.9978 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.9467, allocations: 86.11 kB / 0.9979 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/0.9475, allocations: 0.5808 MB / 0.9985 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.9478, allocations: 45.7 kB / 0.9985 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.9481, allocations: 419 kB / 0.9989 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004128/0.9485, allocations: 370.7 kB / 0.9993 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.9487, allocations: 105.7 kB / 0.9994 GB, free: 1.148 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.9489, allocations: 386.8 kB / 0.9998 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003417/0.9523, allocations: 1.123 MB / 1.001 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/0.956, allocations: 1.476 MB / 1.002 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007376/0.9634, allocations: 2.624 MB / 1.005 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.9634, allocations: 0 / 1.005 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01243/0.9759, allocations: 3.924 MB / 1.009 GB, free: 7.301 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005798/0.9765, allocations: 400.6 kB / 1.009 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/0.9765, allocations: 12 kB / 1.009 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006283/0.9828, allocations: 1.388 MB / 1.01 GB, free: 5.352 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/0.9856, allocations: 467.2 kB / 1.011 GB, free: 4.895 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/1.003, allocations: 11.23 MB / 1.022 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/1.006, allocations: 311.5 kB / 1.022 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/1.006, allocations: 63.97 kB / 1.022 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/1.006, allocations: 8.062 kB / 1.022 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01083/1.017, allocations: 3.6 MB / 1.026 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/1.017, allocations: 12.08 kB / 1.026 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004458/1.021, allocations: 1.1 MB / 1.027 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/1.023, allocations: 483.1 kB / 1.027 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.038, allocations: 10.36 MB / 1.037 GB, free: 8.637 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/1.041, allocations: 311.6 kB / 1.038 GB, free: 8.332 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/1.041, allocations: 59.97 kB / 1.038 GB, free: 8.273 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000769/1.042, allocations: 384.7 kB / 1.038 GB, free: 7.887 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/1.042, allocations: 90.91 kB / 1.038 GB, free: 7.797 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.054, allocations: 3.79 MB / 1.042 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/1.054, allocations: 12 kB / 1.042 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/1.054, allocations: 4 kB / 1.042 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/1.054, allocations: 3.984 kB / 1.042 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.068, allocations: 5.491 MB / 1.047 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.068, allocations: 8 kB / 1.047 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.07, allocations: 364 kB / 1.048 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004969/1.075, allocations: 1.24 MB / 1.049 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/1.075, allocations: 39.97 kB / 1.049 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/1.09, allocations: 10.75 MB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/1.09, allocations: 12.05 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.101, allocations: 3.681 MB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008267/1.102, allocations: 339.9 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/1.102, allocations: 31.92 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.104, allocations: 319.5 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/1.105, allocations: 104.1 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.105, allocations: 47.97 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000636/1.105, allocations: 414.8 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.1e-07/1.105, allocations: 480 / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002279/1.108, allocations: 0.5938 MB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002923/1.108, allocations: 140 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01618/1.124, allocations: 5.757 MB / 1.071 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.124, allocations: 0 / 1.071 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005811/1.13, allocations: 2.126 MB / 1.073 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/1.132, allocations: 153.9 kB / 1.073 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.143, allocations: 3.922 MB / 1.077 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/1.145, allocations: 1.11 MB / 1.078 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002228/1.147, allocations: 0.5538 MB / 1.078 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/1.147, allocations: 79.38 kB / 1.078 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of SimCode: time 1.103e-06/1.147, allocations: 0 / 1.078 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of Templates: time 0.0419/1.189, allocations: 26.88 MB / 1.105 GB, free: 2.891 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches