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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009932/0.0009934, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.509/1.509, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.9 MB / 0.667 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003682, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.707/0.7074, allocations: 142.4 MB / 0.9557 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.002714/0.7101, allocations: 2.512 MB / 0.9582 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.7127, allocations: 2.069 MB / 0.9602 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.7129, allocations: 6.688 kB / 0.9602 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.713, allocations: 26.53 kB / 0.9602 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.7135, allocations: 207.5 kB / 0.9604 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.7141, allocations: 241.4 kB / 0.9606 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.7145, allocations: 447.6 kB / 0.9611 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.7151, allocations: 373.1 kB / 0.9614 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.7153, allocations: 95.28 kB / 0.9615 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.7156, allocations: 157.5 kB / 0.9617 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.7156, allocations: 9.938 kB / 0.9617 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006768/0.7163, allocations: 478.2 kB / 0.9621 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.7164, allocations: 85.3 kB / 0.9622 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.7165, allocations: 131.6 kB / 0.9623 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.717, allocations: 368.5 kB / 0.9627 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.717, allocations: 5.062 kB / 0.9627 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.717, allocations: 3.938 kB / 0.9627 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.717, allocations: 3.938 kB / 0.9627 GB, free: 2.562 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.0008048/0.7178, allocations: 0.5143 MB / 0.9632 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.7178, allocations: 12.75 kB / 0.9632 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.7188, allocations: 124.8 kB / 0.9633 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.719, allocations: 263.8 kB / 0.9636 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.7191, allocations: 12.62 kB / 0.9636 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.7191, allocations: 20.66 kB / 0.9636 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.7198, allocations: 398.9 kB / 0.964 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.7198, allocations: 1.344 kB / 0.964 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.7198, allocations: 10.38 kB / 0.964 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.7199, allocations: 24.17 kB / 0.964 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007294/0.7206, allocations: 388.1 kB / 0.9644 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.7225, allocations: 1.755 MB / 0.9661 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/0.7232, allocations: 356.9 kB / 0.9665 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.7236, allocations: 196 kB / 0.9667 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.7238, allocations: 89.28 kB / 0.9667 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.7238, allocations: 43.91 kB / 0.9668 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.7238, allocations: 0.75 kB / 0.9668 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.00938/0.7332, allocations: 2.22 MB / 0.9689 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.7333, allocations: 81.17 kB / 0.969 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.7335, allocations: 184.2 kB / 0.9692 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.7335, allocations: 30.89 kB / 0.9692 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.7337, allocations: 146.4 kB / 0.9694 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.7338, allocations: 125.8 kB / 0.9695 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.7339, allocations: 35.55 kB / 0.9695 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.7341, allocations: 328.5 kB / 0.9698 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.7347, allocations: 273.1 kB / 0.9701 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/0.7354, allocations: 356.9 kB / 0.9704 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.7366, allocations: 0.6387 MB / 0.9711 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.7367, allocations: 5.062 kB / 0.9711 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001443/0.7381, allocations: 0.6778 MB / 0.9717 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.689e-05/0.7382, allocations: 161.9 kB / 0.9719 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.7382, allocations: 2.125 kB / 0.9719 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.7382, allocations: 4.531 kB / 0.9719 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7393, allocations: 156 kB / 0.972 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.7393, allocations: 12.12 kB / 0.972 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.7398, allocations: 64.98 kB / 0.9721 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.7399, allocations: 16.22 kB / 0.9721 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.7399, allocations: 8.031 kB / 0.9721 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/0.7412, allocations: 0.6137 MB / 0.9727 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.7412, allocations: 6.969 kB / 0.9727 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.7413, allocations: 3.906 kB / 0.9727 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008986/0.7422, allocations: 154.4 kB / 0.9729 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.7422, allocations: 8.359 kB / 0.9729 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.7426, allocations: 54.84 kB / 0.973 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.7427, allocations: 16.42 kB / 0.973 GB, free: 11.52 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.0002369/0.7429, allocations: 242.8 kB / 0.9732 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.743, allocations: 29.44 kB / 0.9732 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.7445, allocations: 0.7043 MB / 0.9739 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7446, allocations: 3.656 kB / 0.9739 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.7446, allocations: 1.344 kB / 0.9739 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.7446, allocations: 9.359 kB / 0.9739 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.7469, allocations: 1.387 MB / 0.9753 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.747, allocations: 6.438 kB / 0.9753 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.7476, allocations: 124.1 kB / 0.9754 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.7476, allocations: 3.688 kB / 0.9754 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.7476, allocations: 16.83 kB / 0.9754 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.7476, allocations: 3.562 kB / 0.9754 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.7477, allocations: 6.688 kB / 0.9754 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.7488, allocations: 0.7223 MB / 0.9761 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.749, allocations: 137 kB / 0.9763 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.749, allocations: 13.12 kB / 0.9763 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.7494, allocations: 48.47 kB / 0.9763 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.7495, allocations: 32.72 kB / 0.9764 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.7496, allocations: 9.531 kB / 0.9764 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001879/0.7498, allocations: 154.7 kB / 0.9765 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7498, allocations: 4 kB / 0.9765 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000734/0.7505, allocations: 144.5 kB / 0.9767 GB, free: 8.934 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.0002259/0.7507, allocations: 138.5 kB / 0.9768 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.7526, allocations: 0.9097 MB / 0.9777 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7527, allocations: 0 / 0.9777 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.7532, allocations: 269.3 kB / 0.9779 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.7537, allocations: 51.84 kB / 0.978 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.7551, allocations: 0.8743 MB / 0.9788 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.7555, allocations: 0.7799 MB / 0.9796 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.7557, allocations: 39.42 kB / 0.9796 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.7557, allocations: 3.938 kB / 0.9796 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of Templates: time 0.007734/0.7634, allocations: 4.904 MB / 0.9844 GB, free: 1.246 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/jenkins1/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