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.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: "" <> 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.00441/0.00441, allocations: 105.7 kB / 15.74 MB, free: 6.012 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.001023/0.001023, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.232/2.232, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.91 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.8719, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006598/0.8785, allocations: 5.212 MB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.8811, allocations: 1.68 MB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.8813, allocations: 13.5 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.8827, allocations: 0.5266 MB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004978/0.8832, allocations: 246.7 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.8838, allocations: 230.8 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.8857, allocations: 1.671 MB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/0.8888, allocations: 2.53 MB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.8903, allocations: 0.7809 MB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.8917, allocations: 0.9292 MB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.8919, allocations: 189.7 kB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006164/0.8925, allocations: 319.5 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008091/0.8933, allocations: 0.7355 MB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008755/0.8942, allocations: 0.7105 MB / 1.103 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.8975, allocations: 2.655 MB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.8975, allocations: 0.7031 kB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8976, allocations: 1.531 kB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.23e-05/0.8976, allocations: 0 / 1.105 GB, free: 12.09 MB / 0.8731 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.002961/0.9006, allocations: 1.367 MB / 1.107 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.9006, allocations: 10.75 kB / 1.107 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002951/0.9009, allocations: 203.7 kB / 1.107 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.9025, allocations: 306.1 kB / 1.107 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.9039, allocations: 0.7283 MB / 1.108 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.904, allocations: 97.25 kB / 1.108 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/0.9042, allocations: 115.4 kB / 1.108 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/0.9079, allocations: 2.144 MB / 1.11 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.9079, allocations: 0 / 1.11 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.9081, allocations: 47.19 kB / 1.11 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.371e-05/0.9082, allocations: 57.73 kB / 1.11 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002948/0.9111, allocations: 1.873 MB / 1.112 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009258/0.9204, allocations: 7.659 MB / 1.12 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.9206, allocations: 134 kB / 1.12 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.9207, allocations: 76.75 kB / 1.12 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.9208, allocations: 90.97 kB / 1.12 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.9208, allocations: 41.95 kB / 1.12 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.9209, allocations: 3.938 kB / 1.12 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0005426/0.9214, allocations: 265.3 kB / 1.12 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.9215, allocations: 134.2 kB / 1.12 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.9227, allocations: 0.9137 MB / 1.121 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.9227, allocations: 30.98 kB / 1.121 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.9232, allocations: 0.7605 MB / 1.122 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.9233, allocations: 56.98 kB / 1.122 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003568/0.9236, allocations: 271 kB / 1.122 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.9238, allocations: 366.6 kB / 1.123 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.9245, allocations: 425.9 kB / 1.123 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.9257, allocations: 1.17 MB / 1.124 GB, free: 264 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.9275, allocations: 1.597 MB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.9276, allocations: 8.844 kB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002387/0.93, allocations: 1.543 MB / 1.127 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.93, allocations: 17.52 kB / 1.127 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.93, allocations: 26.41 kB / 1.127 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-05/0.9301, allocations: 36.53 kB / 1.127 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/0.9309, allocations: 288.1 kB / 1.128 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.302e-05/0.931, allocations: 48.34 kB / 1.128 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/0.9319, allocations: 199 kB / 1.128 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.932, allocations: 71.86 kB / 1.128 GB, free: 14.1 MB / 0.8887 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.0009488/0.933, allocations: 0.6326 MB / 1.129 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.9331, allocations: 62.11 kB / 1.129 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.9334, allocations: 134.6 kB / 1.129 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9334, allocations: 1.25 kB / 1.129 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.9334, allocations: 1.188 kB / 1.129 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.9334, allocations: 1.672 kB / 1.129 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.9347, allocations: 0.7695 MB / 1.13 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9347, allocations: 1.656 kB / 1.13 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.9348, allocations: 5.062 kB / 1.13 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9348, allocations: 5.062 kB / 1.13 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.9348, allocations: 1.859 kB / 1.13 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.9348, allocations: 8.906 kB / 1.13 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9348, allocations: 1.125 kB / 1.13 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.9352, allocations: 364.2 kB / 1.13 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.9354, allocations: 131.5 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.9355, allocations: 6.594 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.9358, allocations: 16.38 kB / 1.13 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.9358, allocations: 9.938 kB / 1.13 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.9358, allocations: 6 kB / 1.13 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00126/0.9371, allocations: 0.6404 MB / 1.131 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.295e-06/0.9371, allocations: 0 / 1.131 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001641/0.9388, allocations: 282.8 kB / 1.131 GB, free: 12.47 MB / 0.8887 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.0009478/0.9397, allocations: 0.9003 MB / 1.132 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.9414, allocations: 0.7169 MB / 1.133 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.9415, allocations: 1.875 kB / 1.133 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.9415, allocations: 20.64 kB / 1.133 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.9422, allocations: 39.33 kB / 1.133 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.956, allocations: 8.073 MB / 1.141 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.9573, allocations: 1.281 MB / 1.142 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008513/0.9582, allocations: 364.8 kB / 1.142 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/0.9586, allocations: 288.7 kB / 1.142 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of SimCode: time 1.753e-06/0.9586, allocations: 1.906 kB / 1.142 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/1.004, allocations: 13.79 MB / 1.156 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.123/10.13, allocations: 7.734 kB / 1.156 GB, free: 15.55 MB / 0.9044 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