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.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.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.0009021/0.0009019, allocations: 91.53 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.001124/0.001124, allocations: 179.8 kB / 16.92 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.297 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.477/2.477, allocations: 390.9 MB / 0.667 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7909, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003427/0.7943, allocations: 3.078 MB / 0.9587 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.7973, allocations: 2.143 MB / 0.9608 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.7975, allocations: 8.062 kB / 0.9608 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.7977, allocations: 41.2 kB / 0.9609 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.7982, allocations: 220.7 kB / 0.9611 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.7989, allocations: 262.9 kB / 0.9613 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004973/0.7994, allocations: 0.5258 MB / 0.9618 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005015/0.7999, allocations: 338.9 kB / 0.9622 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.8001, allocations: 127.9 kB / 0.9623 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.8004, allocations: 170.6 kB / 0.9624 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.8005, allocations: 12.09 kB / 0.9625 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007304/0.8012, allocations: 0.5048 MB / 0.9629 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.8013, allocations: 80.8 kB / 0.963 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.8014, allocations: 157.1 kB / 0.9632 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.8019, allocations: 383.8 kB / 0.9635 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8019, allocations: 4 kB / 0.9635 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8019, allocations: 0 / 0.9635 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.8019, allocations: 0 / 0.9635 GB, free: 1.887 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.0008232/0.8027, allocations: 0.5637 MB / 0.9641 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8028, allocations: 9.938 kB / 0.9641 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.8036, allocations: 132.8 kB / 0.9642 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.8039, allocations: 281.5 kB / 0.9645 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.8039, allocations: 14.16 kB / 0.9645 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.804, allocations: 21.92 kB / 0.9645 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/0.8046, allocations: 424.5 kB / 0.9649 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.8046, allocations: 0 / 0.9649 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.8046, allocations: 7.562 kB / 0.9649 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.8047, allocations: 37.81 kB / 0.965 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.8053, allocations: 355.8 kB / 0.9653 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.8077, allocations: 2.064 MB / 0.9673 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.8085, allocations: 354.4 kB / 0.9677 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.809, allocations: 201.8 kB / 0.9679 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.8091, allocations: 88.12 kB / 0.968 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.8091, allocations: 36.88 kB / 0.968 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.8091, allocations: 0 / 0.968 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.005441/0.8146, allocations: 1.751 MB / 0.9697 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.8147, allocations: 84.23 kB / 0.9698 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.8149, allocations: 239.5 kB / 0.97 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.815, allocations: 32.27 kB / 0.97 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.8151, allocations: 177 kB / 0.9702 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.8152, allocations: 121.5 kB / 0.9703 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.8153, allocations: 37.64 kB / 0.9704 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8155, allocations: 341.8 kB / 0.9707 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.8159, allocations: 202 kB / 0.9709 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.8164, allocations: 318.9 kB / 0.9712 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/0.8174, allocations: 0.5245 MB / 0.9717 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8174, allocations: 1.094 kB / 0.9717 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001382/0.8188, allocations: 0.6873 MB / 0.9724 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.8189, allocations: 179.4 kB / 0.9725 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8189, allocations: 3.719 kB / 0.9725 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005215/0.8194, allocations: 144 kB / 0.9727 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.8199, allocations: 101.3 kB / 0.9728 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.8229, allocations: 3.945 MB / 0.9766 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.8233, allocations: 45.77 kB / 0.9767 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.8234, allocations: 21.33 kB / 0.9767 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.8234, allocations: 3.438 kB / 0.9767 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001286/0.8247, allocations: 0.6255 MB / 0.9773 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8247, allocations: 3.031 kB / 0.9773 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.8251, allocations: 145.9 kB / 0.9774 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.8255, allocations: 100.6 kB / 0.9775 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006365/0.8261, allocations: 1.101 MB / 0.9786 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.8264, allocations: 45.36 kB / 0.9787 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.8265, allocations: 17.56 kB / 0.9787 GB, free: 5.477 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.0002613/0.8268, allocations: 250.3 kB / 0.9789 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.587e-05/0.8269, allocations: 30.31 kB / 0.9789 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.8282, allocations: 0.6324 MB / 0.9796 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.8282, allocations: 4.75 kB / 0.9796 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8282, allocations: 0.9062 kB / 0.9796 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8282, allocations: 0 / 0.9796 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.8305, allocations: 1.356 MB / 0.9809 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.8305, allocations: 2.781 kB / 0.9809 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.8308, allocations: 67.98 kB / 0.981 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/0.8312, allocations: 160.5 kB / 0.9811 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.8312, allocations: 8.031 kB / 0.9811 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/0.8342, allocations: 3.961 MB / 0.985 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.8342, allocations: 2.75 kB / 0.985 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.8355, allocations: 0.7942 MB / 0.9858 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.8356, allocations: 148.6 kB / 0.9859 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.8357, allocations: 8 kB / 0.9859 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.836, allocations: 35.97 kB / 0.986 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.8361, allocations: 31.95 kB / 0.986 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.8361, allocations: 12 kB / 0.986 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001738/0.8363, allocations: 172.4 kB / 0.9862 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.834e-06/0.8363, allocations: 0 / 0.9862 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007945/0.8371, allocations: 167.9 kB / 0.9863 GB, free: 14.4 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.0002471/0.8374, allocations: 143.6 kB / 0.9865 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002119/0.8395, allocations: 1.19 MB / 0.9876 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8395, allocations: 4.062 kB / 0.9876 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.8403, allocations: 489.9 kB / 0.9881 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.8409, allocations: 72.91 kB / 0.9882 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.8422, allocations: 0.94 MB / 0.9891 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.8427, allocations: 0.8045 MB / 0.9899 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.739e-05/0.8428, allocations: 35.38 kB / 0.9899 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.8428, allocations: 0 / 0.9899 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of Templates: time 0.01163/0.8544, allocations: 8.949 MB / 0.9986 GB, free: 1.621 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/jenkins1/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