Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008975/0.0008975, allocations: 98.03 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.006197/0.006197, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.338/1.338, allocations: 223.3 MB / 240.3 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.403/2.403, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003305, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6184/0.6188, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.004844/0.6236, allocations: 4.842 MB / 0.9599 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.626, allocations: 1.662 MB / 0.9615 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.6261, allocations: 15.16 kB / 0.9615 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.6264, allocations: 100.6 kB / 0.9616 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.6269, allocations: 233.8 kB / 0.9619 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.6273, allocations: 204.9 kB / 0.9621 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.6294, allocations: 2.612 MB / 0.9646 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004125/0.6336, allocations: 3.133 MB / 0.9677 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008768/0.6345, allocations: 0.5206 MB / 0.9682 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.6355, allocations: 0.7858 MB / 0.9689 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.6356, allocations: 84.75 kB / 0.969 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005143/0.6362, allocations: 237.6 kB / 0.9693 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006102/0.6368, allocations: 0.606 MB / 0.9698 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.6374, allocations: 0.5808 MB / 0.9704 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.6397, allocations: 2.517 MB / 0.9729 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6397, allocations: 0 / 0.9729 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6397, allocations: 0 / 0.9729 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.885e-05/0.6398, allocations: 1.125 kB / 0.9729 GB, free: 11.97 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002196/0.642, allocations: 1.14 MB / 0.974 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.642, allocations: 9.594 kB / 0.974 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003057/0.6423, allocations: 210.1 kB / 0.9742 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.6439, allocations: 302.8 kB / 0.9745 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.645, allocations: 0.7132 MB / 0.9752 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.6451, allocations: 92.94 kB / 0.9753 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.6453, allocations: 120.2 kB / 0.9754 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/0.6487, allocations: 2.144 MB / 0.9775 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.6487, allocations: 3.938 kB / 0.9775 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.6489, allocations: 52 kB / 0.9775 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.499e-05/0.649, allocations: 54.06 kB / 0.9776 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/0.6518, allocations: 1.87 MB / 0.9794 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008378/0.6602, allocations: 7.76 MB / 0.987 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.6603, allocations: 126.4 kB / 0.9871 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.254e-05/0.6604, allocations: 79.52 kB / 0.9872 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.6605, allocations: 93.03 kB / 0.9873 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.6606, allocations: 34.56 kB / 0.9873 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.6606, allocations: 0 / 0.9873 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0004981/0.6611, allocations: 273 kB / 0.9876 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.6612, allocations: 132.5 kB / 0.9877 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.6622, allocations: 0.9083 MB / 0.9886 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.6622, allocations: 29.7 kB / 0.9886 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/0.6627, allocations: 0.7586 MB / 0.9893 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.6627, allocations: 55.52 kB / 0.9894 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.6629, allocations: 97.67 kB / 0.9895 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.663, allocations: 379.1 kB / 0.9899 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.6636, allocations: 430.3 kB / 0.9903 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009757/0.6645, allocations: 1.169 MB / 0.9914 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.666, allocations: 1.599 MB / 0.993 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.666, allocations: 8 kB / 0.993 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002049/0.6681, allocations: 1.543 MB / 0.9945 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.6681, allocations: 25.89 kB / 0.9945 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.6682, allocations: 24.06 kB / 0.9945 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/0.6682, allocations: 40 kB / 0.9946 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/0.669, allocations: 279.5 kB / 0.9948 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-05/0.6691, allocations: 51.78 kB / 0.9949 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007834/0.6698, allocations: 190.3 kB / 0.9951 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.6699, allocations: 72 kB / 0.9951 GB, free: 4.637 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * 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.0007442/0.6707, allocations: 0.6432 MB / 0.9958 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.6708, allocations: 59.34 kB / 0.9958 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.6711, allocations: 133.6 kB / 0.9959 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6711, allocations: 0 / 0.9959 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6711, allocations: 0 / 0.9959 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6711, allocations: 8 kB / 0.996 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.6722, allocations: 0.7744 MB / 0.9967 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6722, allocations: 0 / 0.9967 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.6722, allocations: 8 kB / 0.9967 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6722, allocations: 4 kB / 0.9967 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.6722, allocations: 0 / 0.9967 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6722, allocations: 0 / 0.9967 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6722, allocations: 0 / 0.9967 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.6725, allocations: 373.3 kB / 0.9971 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.6726, allocations: 152.4 kB / 0.9972 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.6727, allocations: 4 kB / 0.9972 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.673, allocations: 11.97 kB / 0.9972 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.673, allocations: 4 kB / 0.9972 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.673, allocations: 0 / 0.9972 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007214/0.6737, allocations: 0.6434 MB / 0.9979 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6737, allocations: 4 kB / 0.9979 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009989/0.6747, allocations: 282.9 kB / 0.9981 GB, free: 1.426 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0005058/0.6753, allocations: 0.9095 MB / 0.999 GB, free: 500 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000925/0.6762, allocations: 0.7168 MB / 0.9997 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6762, allocations: 4.062 kB / 0.9997 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.6762, allocations: 19.98 kB / 0.9998 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.6768, allocations: 42.94 kB / 0.9998 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009275/0.6861, allocations: 8.574 MB / 1.008 GB, free: 6.297 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000955/0.6871, allocations: 1.288 MB / 1.009 GB, free: 4.98 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007658/0.6878, allocations: 365.2 kB / 1.01 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.6882, allocations: 287.3 kB / 1.01 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of SimCode: time 8.22e-07/0.6882, allocations: 0 / 1.01 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.716, allocations: 12.99 MB / 1.023 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.7162, allocations: 243.6 kB / 1.023 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.594, allocations: 2.109 kB / 1.023 GB, free: 7.273 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches