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.007017/0.007017, allocations: 102.3 kB / 15.73 MB, free: 5.992 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.001588/0.001589, allocations: 193.6 kB / 16.67 MB, free: 5.922 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.16/2.16, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 55.91 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.854/0.8553, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007176/0.8626, allocations: 5.224 MB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003051/0.8657, allocations: 1.674 MB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.8659, allocations: 13.66 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.8673, allocations: 0.5269 MB / 1.095 GB, free: 420 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.8679, allocations: 245.4 kB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.8685, allocations: 230.8 kB / 1.095 GB, free: 148 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002335/0.8709, allocations: 1.671 MB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/0.8742, allocations: 2.533 MB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.8757, allocations: 0.7777 MB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.8773, allocations: 0.9295 MB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.8776, allocations: 190.1 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000695/0.8783, allocations: 319.8 kB / 1.101 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008695/0.8791, allocations: 0.7387 MB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008726/0.88, allocations: 0.7112 MB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.8834, allocations: 2.651 MB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8834, allocations: 0.75 kB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8834, allocations: 0 / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.606e-05/0.8834, allocations: 1.219 kB / 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.003626/0.8871, allocations: 1.372 MB / 1.107 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.8871, allocations: 8.812 kB / 1.107 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003623/0.8875, allocations: 209.3 kB / 1.107 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.8892, allocations: 305 kB / 1.107 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.8909, allocations: 0.7191 MB / 1.108 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.891, allocations: 96.34 kB / 1.108 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.8914, allocations: 124.7 kB / 1.108 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004389/0.8958, allocations: 2.132 MB / 1.11 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.8958, allocations: 0 / 1.11 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.896, allocations: 50.75 kB / 1.11 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.8961, allocations: 53.41 kB / 1.11 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.8997, allocations: 1.875 MB / 1.112 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.911, allocations: 7.669 MB / 1.12 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.9113, allocations: 125.8 kB / 1.12 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.9114, allocations: 80.5 kB / 1.12 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.9115, allocations: 95.59 kB / 1.12 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.9116, allocations: 40.88 kB / 1.12 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/0.9116, allocations: 0 / 1.12 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0006511/0.9122, allocations: 268.4 kB / 1.12 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.9123, allocations: 131.7 kB / 1.12 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.9136, allocations: 0.9103 MB / 1.121 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.9136, allocations: 25.7 kB / 1.121 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005622/0.9142, allocations: 0.7653 MB / 1.122 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.9143, allocations: 61.02 kB / 1.122 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/0.9147, allocations: 270.4 kB / 1.122 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.9149, allocations: 367.2 kB / 1.123 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000757/0.9156, allocations: 425.7 kB / 1.123 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.9172, allocations: 1.17 MB / 1.124 GB, free: 276 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.9195, allocations: 1.597 MB / 1.126 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.9196, allocations: 8.062 kB / 1.126 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002779/0.9223, allocations: 1.545 MB / 1.127 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.9224, allocations: 15.56 kB / 1.127 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/0.9224, allocations: 27.5 kB / 1.127 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-05/0.9225, allocations: 35.14 kB / 1.127 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.9234, allocations: 285 kB / 1.128 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.064e-05/0.9234, allocations: 52.81 kB / 1.128 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000984/0.9244, allocations: 194.1 kB / 1.128 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.9246, allocations: 75.31 kB / 1.128 GB, free: 14.11 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.001193/0.9258, allocations: 0.6338 MB / 1.129 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.9259, allocations: 63.03 kB / 1.129 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.9262, allocations: 137.6 kB / 1.129 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.9262, allocations: 1.031 kB / 1.129 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9262, allocations: 1.125 kB / 1.129 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.9262, allocations: 1.734 kB / 1.129 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.9275, allocations: 0.7704 MB / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.9275, allocations: 0 / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.9276, allocations: 6.031 kB / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.9276, allocations: 1.031 kB / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.9276, allocations: 5.609 kB / 1.13 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.9276, allocations: 1.094 kB / 1.13 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9276, allocations: 4.938 kB / 1.13 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.9279, allocations: 369.2 kB / 1.13 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.9281, allocations: 130.3 kB / 1.13 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.9282, allocations: 6.156 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.9284, allocations: 13.23 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.9285, allocations: 9.672 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.9285, allocations: 2.156 kB / 1.13 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000866/0.9294, allocations: 0.6395 MB / 1.131 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9294, allocations: 1.375 kB / 1.131 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001215/0.9306, allocations: 278.2 kB / 1.131 GB, free: 12.49 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.0006297/0.9312, allocations: 0.9047 MB / 1.132 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.9324, allocations: 0.7179 MB / 1.133 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9324, allocations: 0 / 1.133 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.9324, allocations: 24.48 kB / 1.133 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.933, allocations: 39.97 kB / 1.133 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.9445, allocations: 8.069 MB / 1.141 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.946, allocations: 1.284 MB / 1.142 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007873/0.9468, allocations: 373.3 kB / 1.142 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.9472, allocations: 285.7 kB / 1.142 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of SimCode: time 8.82e-07/0.9472, allocations: 0 / 1.142 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04026/0.9874, allocations: 13.73 MB / 1.156 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.455/9.442, allocations: 10.28 kB / 1.156 GB, free: 15.66 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