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.001375/0.001375, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001906/0.001907, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 223.3 MB / 240 MB, free: 5.441 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.557/2.557, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004068, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8022, allocations: 142.4 MB / 0.9544 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003803/0.8061, allocations: 2.965 MB / 0.9573 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002868/0.809, allocations: 2.01 MB / 0.9593 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.8092, allocations: 8.219 kB / 0.9593 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.8094, allocations: 36.36 kB / 0.9593 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.8099, allocations: 170.1 kB / 0.9595 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.8105, allocations: 221.3 kB / 0.9597 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.811, allocations: 440.1 kB / 0.9601 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004725/0.8115, allocations: 329.6 kB / 0.9604 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.8117, allocations: 120.8 kB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.812, allocations: 174.1 kB / 0.9607 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.812, allocations: 11.09 kB / 0.9607 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.8126, allocations: 273.3 kB / 0.961 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.8127, allocations: 83.19 kB / 0.9611 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.8128, allocations: 73.67 kB / 0.9612 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.8132, allocations: 374.9 kB / 0.9615 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.8132, allocations: 4 kB / 0.9615 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8132, allocations: 5.25 kB / 0.9615 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.8132, allocations: 0 / 0.9615 GB, free: 2.461 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.0008945/0.8141, allocations: 0.5662 MB / 0.9621 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.8142, allocations: 9.156 kB / 0.9621 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008757/0.8151, allocations: 124.5 kB / 0.9622 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.8154, allocations: 264.2 kB / 0.9624 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.8154, allocations: 17.42 kB / 0.9625 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.8155, allocations: 22.03 kB / 0.9625 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.8162, allocations: 413.7 kB / 0.9629 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.8162, allocations: 1.531 kB / 0.9629 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.8162, allocations: 18.38 kB / 0.9629 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.8163, allocations: 36.31 kB / 0.9629 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006214/0.8169, allocations: 356.8 kB / 0.9633 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.8191, allocations: 2.064 MB / 0.9653 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008043/0.8199, allocations: 356.7 kB / 0.9656 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.8204, allocations: 194.2 kB / 0.9658 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.8205, allocations: 87.62 kB / 0.9659 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.8205, allocations: 40.59 kB / 0.9659 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.8205, allocations: 0 / 0.9659 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.005275/0.8258, allocations: 1.755 MB / 0.9677 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.8259, allocations: 81.05 kB / 0.9677 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.8262, allocations: 234 kB / 0.968 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.8263, allocations: 31.95 kB / 0.968 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.8264, allocations: 180.9 kB / 0.9682 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.8265, allocations: 129.4 kB / 0.9683 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.8265, allocations: 10.09 kB / 0.9683 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8267, allocations: 336.9 kB / 0.9686 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.8271, allocations: 197.5 kB / 0.9688 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.8276, allocations: 313.2 kB / 0.9691 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.828, allocations: 238.1 kB / 0.9693 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8281, allocations: 1.188 kB / 0.9693 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001334/0.8294, allocations: 0.6718 MB / 0.97 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.8295, allocations: 182.2 kB / 0.9702 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.8296, allocations: 4.094 kB / 0.9702 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/0.8301, allocations: 144.2 kB / 0.9703 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.8305, allocations: 101.3 kB / 0.9704 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.8336, allocations: 3.947 MB / 0.9742 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.8339, allocations: 42.16 kB / 0.9743 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.834, allocations: 21.33 kB / 0.9743 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.834, allocations: 5.375 kB / 0.9743 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00126/0.8352, allocations: 0.6256 MB / 0.9749 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8353, allocations: 3.531 kB / 0.9749 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/0.8356, allocations: 145 kB / 0.9751 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.836, allocations: 104.8 kB / 0.9752 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006381/0.8367, allocations: 1.104 MB / 0.9762 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.837, allocations: 49.89 kB / 0.9763 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.837, allocations: 13.06 kB / 0.9763 GB, free: 6.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.8373, allocations: 251 kB / 0.9765 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.8374, allocations: 29.11 kB / 0.9766 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.8387, allocations: 0.6263 MB / 0.9772 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8387, allocations: 4.375 kB / 0.9772 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.8387, allocations: 7.938 kB / 0.9772 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.8387, allocations: 1.406 kB / 0.9772 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.8409, allocations: 1.349 MB / 0.9785 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.8409, allocations: 2.844 kB / 0.9785 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.8412, allocations: 72 kB / 0.9786 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/0.8416, allocations: 152.3 kB / 0.9787 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.8417, allocations: 13.48 kB / 0.9787 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002682/0.8443, allocations: 3.962 MB / 0.9826 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8444, allocations: 2.625 kB / 0.9826 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.8455, allocations: 0.7789 MB / 0.9834 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.8457, allocations: 143.8 kB / 0.9835 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.8458, allocations: 9.125 kB / 0.9835 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.8461, allocations: 32.41 kB / 0.9836 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/0.8462, allocations: 37.88 kB / 0.9836 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.8462, allocations: 14.03 kB / 0.9836 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001616/0.8464, allocations: 169.9 kB / 0.9838 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8464, allocations: 0 / 0.9838 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000799/0.8472, allocations: 160 kB / 0.9839 GB, free: 15.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002446/0.8474, allocations: 148.1 kB / 0.9841 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.8494, allocations: 1.206 MB / 0.9852 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8494, allocations: 192 / 0.9852 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007377/0.8501, allocations: 493.9 kB / 0.9857 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.8508, allocations: 63.2 kB / 0.9858 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.8521, allocations: 0.8746 MB / 0.9866 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.8525, allocations: 0.8006 MB / 0.9874 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000351/0.8528, allocations: 110.9 kB / 0.9875 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.8529, allocations: 31.44 kB / 0.9875 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.8529, allocations: 0 / 0.9875 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of Templates: time 0.01071/0.8637, allocations: 5.512 MB / 0.9929 GB, free: 6.469 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