Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_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.0008538/0.0008538, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005448/0.005448, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 443.3 MB / 0.7176 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 9.25 kB / 0.8797 GB, free: 41.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2992, allocations: 155.2 MB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01686/0.3161, allocations: 15.39 MB / 1.046 GB, free: 4.93 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007382/0.3235, allocations: 4.774 MB / 1.051 GB, free: 144 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008454/0.3244, allocations: 51.69 kB / 1.051 GB, free: 92 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.325, allocations: 254 kB / 1.051 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.3264, allocations: 0.6963 MB / 1.052 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.3279, allocations: 0.6618 MB / 1.053 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00458/0.3325, allocations: 5.252 MB / 1.058 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007846/0.3403, allocations: 5.844 MB / 1.063 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.3421, allocations: 1.097 MB / 1.064 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.3441, allocations: 1.507 MB / 1.066 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.3444, allocations: 144 kB / 1.066 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.3458, allocations: 0.7331 MB / 1.067 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.3468, allocations: 1.072 MB / 1.068 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.348, allocations: 1.18 MB / 1.069 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.3531, allocations: 4.898 MB / 1.074 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.3532, allocations: 0 / 1.074 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.298e-06/0.3532, allocations: 0 / 1.074 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001541/0.3533, allocations: 0 / 1.074 GB, free: 8.617 MB / 0.8262 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.004904/0.3582, allocations: 2.171 MB / 1.076 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.3583, allocations: 15.97 kB / 1.076 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005645/0.3589, allocations: 378.5 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/0.3628, allocations: 0.8329 MB / 1.077 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.3651, allocations: 1.501 MB / 1.079 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.3652, allocations: 177.1 kB / 1.079 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.3656, allocations: 232.3 kB / 1.079 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006722/0.3724, allocations: 4.169 MB / 1.083 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-05/0.3725, allocations: 7.938 kB / 1.083 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.3727, allocations: 99.98 kB / 1.083 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001914/0.3729, allocations: 168.5 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005536/0.3785, allocations: 3.644 MB / 1.087 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/0.3949, allocations: 16.54 MB / 1.103 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/0.3981, allocations: 2.3 MB / 1.105 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008056/0.399, allocations: 0.5897 MB / 1.106 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.3991, allocations: 97.66 kB / 1.106 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.3991, allocations: 43.06 kB / 1.106 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=72): time 6.011e-06/0.3991, allocations: 7.984 kB / 1.106 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.005218/0.4044, allocations: 3.452 MB / 1.109 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.4044, allocations: 111.5 kB / 1.109 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.4057, allocations: 1.022 MB / 1.11 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.4057, allocations: 33.7 kB / 1.11 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/0.4063, allocations: 1.103 MB / 1.112 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.4065, allocations: 272.2 kB / 1.112 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.4067, allocations: 109.7 kB / 1.112 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4069, allocations: 422.7 kB / 1.112 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008896/0.4078, allocations: 0.6207 MB / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.4091, allocations: 1.189 MB / 1.114 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.4112, allocations: 1.876 MB / 1.116 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.4112, allocations: 8 kB / 1.116 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003039/0.4143, allocations: 2.023 MB / 1.118 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.4143, allocations: 21.5 kB / 1.118 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.4144, allocations: 19.94 kB / 1.118 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.4148, allocations: 159.3 kB / 1.118 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.4159, allocations: 351.4 kB / 1.118 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.8e-05/0.4159, allocations: 39.86 kB / 1.118 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000954/0.4169, allocations: 135.7 kB / 1.119 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.553e-05/0.417, allocations: 68 kB / 1.119 GB, free: 7.957 MB / 0.8731 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.001422/0.4184, allocations: 0.981 MB / 1.12 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.4186, allocations: 110.7 kB / 1.12 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.4207, allocations: 1.237 MB / 1.121 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4207, allocations: 15.94 kB / 1.121 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.4208, allocations: 7.984 kB / 1.121 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4208, allocations: 7.922 kB / 1.121 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/0.4259, allocations: 3.811 MB / 1.125 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4259, allocations: 4 kB / 1.125 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.4265, allocations: 163.8 kB / 1.125 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003408/0.4269, allocations: 139.6 kB / 1.125 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.4269, allocations: 20 kB / 1.125 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.4269, allocations: 11.92 kB / 1.125 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.427, allocations: 11.88 kB / 1.125 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.4288, allocations: 1.468 MB / 1.126 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.4292, allocations: 287.8 kB / 1.127 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.4293, allocations: 16 kB / 1.127 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005965/0.4299, allocations: 79.89 kB / 1.127 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4301, allocations: 56.36 kB / 1.127 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.4301, allocations: 28 kB / 1.127 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008567/0.431, allocations: 0.6953 MB / 1.128 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.431, allocations: 0 / 1.128 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001335/0.4323, allocations: 384 kB / 1.128 GB, free: 14.16 MB / 0.8887 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.002144/0.4345, allocations: 2.056 MB / 1.13 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.4367, allocations: 1.726 MB / 1.132 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4368, allocations: 0.8125 kB / 1.132 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008675/0.4376, allocations: 0.8739 MB / 1.132 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.4392, allocations: 241.5 kB / 1.133 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.4567, allocations: 14.35 MB / 1.147 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.4584, allocations: 1.916 MB / 1.149 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001094/0.4595, allocations: 457.6 kB / 1.149 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008056/0.4603, allocations: 0.7063 MB / 1.15 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of SimCode: time 6.81e-07/0.4603, allocations: 0 / 1.15 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04165/0.502, allocations: 26.44 MB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000311/0.5023, allocations: 266.6 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.453, allocations: 2.812 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches