Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_9_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_9_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.00105/0.00105, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001398/0.001399, allocations: 182.9 kB / 16.28 MB, free: 6.656 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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.531/2.531, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000585/0.0005851, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8293/0.8299, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003733/0.8337, allocations: 3.083 MB / 0.9581 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003024/0.8368, allocations: 2.151 MB / 0.9602 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.837, allocations: 8.062 kB / 0.9602 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.8372, allocations: 35.83 kB / 0.9602 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.8377, allocations: 226.1 kB / 0.9604 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007121/0.8385, allocations: 258.9 kB / 0.9607 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000588/0.839, allocations: 0.5334 MB / 0.9612 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.8396, allocations: 326.9 kB / 0.9615 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.8399, allocations: 123.7 kB / 0.9616 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.8403, allocations: 174.7 kB / 0.9618 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.8403, allocations: 20.12 kB / 0.9618 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008722/0.8412, allocations: 0.5007 MB / 0.9623 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.8413, allocations: 80.62 kB / 0.9624 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.8415, allocations: 158 kB / 0.9625 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006714/0.8422, allocations: 0.5194 MB / 0.963 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8422, allocations: 0 / 0.963 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8422, allocations: 0 / 0.963 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.8422, allocations: 1.031 kB / 0.963 GB, free: 1.785 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009649/0.8432, allocations: 0.5634 MB / 0.9636 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8432, allocations: 8.969 kB / 0.9636 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.8441, allocations: 125.7 kB / 0.9637 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.8445, allocations: 277.6 kB / 0.964 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.8445, allocations: 18.42 kB / 0.964 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.8445, allocations: 17.72 kB / 0.964 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.8452, allocations: 429.1 kB / 0.9644 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.8452, allocations: 4 kB / 0.9644 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.8453, allocations: 10.73 kB / 0.9644 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.8453, allocations: 35.97 kB / 0.9645 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.846, allocations: 357.1 kB / 0.9648 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.8486, allocations: 2.069 MB / 0.9668 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.8495, allocations: 359.5 kB / 0.9672 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.85, allocations: 201.8 kB / 0.9674 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.8501, allocations: 87 kB / 0.9674 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.8502, allocations: 32.59 kB / 0.9675 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 2.534e-06/0.8502, allocations: 1 kB / 0.9675 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.006049/0.8562, allocations: 1.752 MB / 0.9692 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.8563, allocations: 89.03 kB / 0.9693 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.8566, allocations: 238.9 kB / 0.9695 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.8567, allocations: 30.8 kB / 0.9695 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.8568, allocations: 179.2 kB / 0.9697 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.8569, allocations: 117.1 kB / 0.9698 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.857, allocations: 40.72 kB / 0.9698 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8572, allocations: 337.6 kB / 0.9702 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.8576, allocations: 202.8 kB / 0.9704 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.8581, allocations: 319.4 kB / 0.9707 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009936/0.8591, allocations: 0.5273 MB / 0.9712 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.8592, allocations: 1.125 kB / 0.9712 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001543/0.8607, allocations: 0.6829 MB / 0.9719 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.8609, allocations: 174.7 kB / 0.972 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.8609, allocations: 2.75 kB / 0.972 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/0.8615, allocations: 145.1 kB / 0.9722 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.8619, allocations: 105.2 kB / 0.9723 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.8652, allocations: 3.948 MB / 0.9761 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.8656, allocations: 41.86 kB / 0.9762 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.8657, allocations: 17.03 kB / 0.9762 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.8657, allocations: 8.125 kB / 0.9762 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00147/0.8672, allocations: 0.6255 MB / 0.9768 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8672, allocations: 3.125 kB / 0.9768 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.8676, allocations: 146.6 kB / 0.9769 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.868, allocations: 96.12 kB / 0.977 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007506/0.8688, allocations: 1.109 MB / 0.9781 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.8691, allocations: 38.31 kB / 0.9781 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.8692, allocations: 16.09 kB / 0.9782 GB, free: 5.375 MB / 0.7325 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.0003318/0.8695, allocations: 250.3 kB / 0.9784 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.8696, allocations: 29.62 kB / 0.9784 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.8711, allocations: 0.6364 MB / 0.979 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.8711, allocations: 8.281 kB / 0.9791 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8712, allocations: 1.031 kB / 0.9791 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.8712, allocations: 1.062 kB / 0.9791 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.8736, allocations: 1.344 MB / 0.9804 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8737, allocations: 11.83 kB / 0.9804 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.8739, allocations: 62.97 kB / 0.9804 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.8744, allocations: 156.2 kB / 0.9806 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.8745, allocations: 12.09 kB / 0.9806 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/0.878, allocations: 3.965 MB / 0.9845 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.878, allocations: 2.938 kB / 0.9845 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.8796, allocations: 0.7861 MB / 0.9852 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.8798, allocations: 148.6 kB / 0.9854 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.8799, allocations: 8 kB / 0.9854 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.8802, allocations: 31.97 kB / 0.9854 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.8803, allocations: 35.95 kB / 0.9855 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.8803, allocations: 12 kB / 0.9855 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001877/0.8805, allocations: 168.5 kB / 0.9856 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.124e-06/0.8805, allocations: 0 / 0.9856 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008973/0.8814, allocations: 167.9 kB / 0.9858 GB, free: 14.3 MB / 0.7481 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.0002567/0.8817, allocations: 150.6 kB / 0.9859 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002231/0.8839, allocations: 1.193 MB / 0.9871 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.884, allocations: 0 / 0.9871 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007967/0.8848, allocations: 490.4 kB / 0.9876 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.8854, allocations: 68.36 kB / 0.9876 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.887, allocations: 0.9036 MB / 0.9885 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.8875, allocations: 0.8006 MB / 0.9893 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003719/0.8879, allocations: 110.9 kB / 0.9894 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.888, allocations: 35.42 kB / 0.9894 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of SimCode: time 1.093e-06/0.888, allocations: 0 / 0.9894 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of Templates: time 0.01123/0.8992, allocations: 5.647 MB / 0.995 GB, free: 4.785 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches