Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.007269/0.007269, allocations: 104 kB / 15.74 MB, free: 6.059 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.001517/0.001517, allocations: 198.8 kB / 16.68 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.219/2.219, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8905/0.8917, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01994/0.9117, allocations: 16.03 MB / 1.103 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.9221, allocations: 4.816 MB / 1.108 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.9243, allocations: 68.84 kB / 1.108 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.9276, allocations: 1.045 MB / 1.109 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.9302, allocations: 0.7341 MB / 1.11 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.9331, allocations: 0.9236 MB / 1.111 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004745/0.9378, allocations: 3.608 MB / 1.114 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006922/0.9448, allocations: 4.773 MB / 1.119 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.9479, allocations: 1.589 MB / 1.12 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.9516, allocations: 1.778 MB / 1.122 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00132/0.9529, allocations: 340.3 kB / 1.122 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.9559, allocations: 0.7938 MB / 1.123 GB, free: 348 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003211/0.9592, allocations: 1.324 MB / 1.124 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00465/0.9638, allocations: 1.459 MB / 1.126 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009027/0.9729, allocations: 5.129 MB / 1.131 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9729, allocations: 0 / 1.131 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9729, allocations: 1.125 kB / 1.131 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001631/0.9731, allocations: 4 kB / 1.131 GB, free: 13.25 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.008089/0.9812, allocations: 2.656 MB / 1.133 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.9813, allocations: 13.31 kB / 1.133 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001014/0.9823, allocations: 371.6 kB / 1.134 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006956/0.9893, allocations: 0.8331 MB / 1.135 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/0.9935, allocations: 1.567 MB / 1.136 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.9937, allocations: 177.1 kB / 1.136 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005586/0.9943, allocations: 229 kB / 1.137 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008484/1.003, allocations: 4.163 MB / 1.141 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.379e-05/1.003, allocations: 7.219 kB / 1.141 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/1.003, allocations: 102.5 kB / 1.141 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002148/1.003, allocations: 166.3 kB / 1.141 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006555/1.01, allocations: 3.639 MB / 1.144 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01872/1.029, allocations: 16.42 MB / 1.16 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/1.032, allocations: 2.296 MB / 1.163 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/1.033, allocations: 0.5845 MB / 1.163 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/1.034, allocations: 96.81 kB / 1.163 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/1.034, allocations: 47.69 kB / 1.163 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 5.24e-06/1.034, allocations: 0 / 1.163 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.006966/1.041, allocations: 3.426 MB / 1.167 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/1.041, allocations: 115 kB / 1.167 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/1.042, allocations: 1.016 MB / 1.168 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/1.043, allocations: 40.42 kB / 1.168 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008052/1.043, allocations: 1.104 MB / 1.169 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/1.044, allocations: 270.4 kB / 1.169 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/1.044, allocations: 278.7 kB / 1.169 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.044, allocations: 418.9 kB / 1.17 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009619/1.045, allocations: 0.6125 MB / 1.17 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/1.047, allocations: 1.197 MB / 1.172 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/1.049, allocations: 1.856 MB / 1.173 GB, free: 15.12 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/1.049, allocations: 9.281 kB / 1.173 GB, free: 15.12 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003247/1.052, allocations: 2.015 MB / 1.175 GB, free: 14.06 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.052, allocations: 13.12 kB / 1.175 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/1.052, allocations: 19.97 kB / 1.175 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004298/1.053, allocations: 164.2 kB / 1.176 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.054, allocations: 347.3 kB / 1.176 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.415e-05/1.054, allocations: 38.7 kB / 1.176 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.055, allocations: 129.1 kB / 1.176 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.055, allocations: 71.83 kB / 1.176 GB, free: 13.78 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001669/1.057, allocations: 0.9743 MB / 1.177 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/1.057, allocations: 107.9 kB / 1.177 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/1.059, allocations: 1.238 MB / 1.178 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.059, allocations: 16.58 kB / 1.178 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.059, allocations: 1.125 kB / 1.178 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/1.059, allocations: 5.047 kB / 1.178 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/1.065, allocations: 3.797 MB / 1.182 GB, free: 9.938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/1.065, allocations: 2.438 kB / 1.182 GB, free: 9.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/1.066, allocations: 157.4 kB / 1.182 GB, free: 9.895 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003816/1.066, allocations: 141.8 kB / 1.182 GB, free: 9.801 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/1.066, allocations: 17.81 kB / 1.182 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/1.066, allocations: 9.188 kB / 1.182 GB, free: 9.785 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.066, allocations: 11.27 kB / 1.182 GB, free: 9.777 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/1.068, allocations: 1.459 MB / 1.184 GB, free: 8.547 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/1.069, allocations: 275.6 kB / 1.184 GB, free: 8.258 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.069, allocations: 19.98 kB / 1.184 GB, free: 8.238 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/1.07, allocations: 63.91 kB / 1.184 GB, free: 8.176 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.07, allocations: 68.36 kB / 1.184 GB, free: 8.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/1.07, allocations: 20 kB / 1.184 GB, free: 8.09 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008342/1.071, allocations: 0.6914 MB / 1.185 GB, free: 7.387 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/1.071, allocations: 4 kB / 1.185 GB, free: 7.383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001754/1.072, allocations: 384 kB / 1.185 GB, free: 7.008 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002161/1.075, allocations: 2.04 MB / 1.187 GB, free: 4.902 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002306/1.077, allocations: 1.715 MB / 1.189 GB, free: 3.105 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.077, allocations: 0 / 1.189 GB, free: 3.105 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009331/1.078, allocations: 0.8629 MB / 1.19 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.079, allocations: 271.1 kB / 1.19 GB, free: 1.895 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/1.096, allocations: 12.84 MB / 1.203 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/1.098, allocations: 1.916 MB / 1.205 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001039/1.099, allocations: 453.6 kB / 1.205 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008156/1.1, allocations: 0.7141 MB / 1.206 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/1.1, allocations: 0 / 1.206 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05411/1.154, allocations: 27.88 MB / 1.233 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.78, allocations: 3.859 kB / 1.233 GB, free: 5.648 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches