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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001169/0.001169, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 194.2 kB / 16.53 MB, free: 6.664 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: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 71.97 kB / 0.9083 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2771, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01893/0.2961, allocations: 16.02 MB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008738/0.3049, allocations: 4.809 MB / 1.084 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.3066, allocations: 67.69 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.3097, allocations: 1.053 MB / 1.085 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.3124, allocations: 0.7386 MB / 1.086 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.3149, allocations: 0.918 MB / 1.087 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004229/0.3192, allocations: 3.614 MB / 1.09 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005816/0.325, allocations: 4.793 MB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.3272, allocations: 1.574 MB / 1.096 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002463/0.3297, allocations: 1.788 MB / 1.098 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007356/0.3304, allocations: 340 kB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.3322, allocations: 0.7919 MB / 1.099 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.3338, allocations: 1.326 MB / 1.101 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.3361, allocations: 1.459 MB / 1.102 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004954/0.3411, allocations: 5.095 MB / 1.107 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3411, allocations: 0 / 1.107 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3411, allocations: 0 / 1.107 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001496/0.3412, allocations: 0 / 1.107 GB, free: 1.93 MB / 0.8575 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.007805/0.3491, allocations: 2.647 MB / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3491, allocations: 8.031 kB / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007592/0.3499, allocations: 382.5 kB / 1.11 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004249/0.3541, allocations: 0.829 MB / 1.111 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.3569, allocations: 1.501 MB / 1.112 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.3571, allocations: 177.1 kB / 1.112 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006104/0.3577, allocations: 232.3 kB / 1.113 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007737/0.3654, allocations: 4.165 MB / 1.117 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.127e-05/0.3655, allocations: 3.938 kB / 1.117 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003846/0.3659, allocations: 99.98 kB / 1.117 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/0.3661, allocations: 172.5 kB / 1.117 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007235/0.3734, allocations: 3.632 MB / 1.121 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.3961, allocations: 16.54 MB / 1.137 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.3996, allocations: 2.296 MB / 1.139 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008554/0.4005, allocations: 0.5785 MB / 1.139 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.4006, allocations: 97.64 kB / 1.14 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.4007, allocations: 47.12 kB / 1.14 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/0.4007, allocations: 0 / 1.14 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.005787/0.4065, allocations: 3.428 MB / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.4066, allocations: 115.4 kB / 1.143 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.4079, allocations: 1.018 MB / 1.144 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.408, allocations: 41.7 kB / 1.144 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006898/0.4087, allocations: 1.099 MB / 1.145 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.4089, allocations: 276.2 kB / 1.145 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003839/0.4093, allocations: 279.2 kB / 1.146 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4095, allocations: 410.7 kB / 1.146 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000947/0.4104, allocations: 0.6167 MB / 1.147 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.4118, allocations: 1.189 MB / 1.148 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.4141, allocations: 1.864 MB / 1.15 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.4141, allocations: 7.938 kB / 1.15 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003236/0.4174, allocations: 2.014 MB / 1.152 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.4174, allocations: 16 kB / 1.152 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.4174, allocations: 16 kB / 1.152 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004239/0.4179, allocations: 167.9 kB / 1.152 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.419, allocations: 347.3 kB / 1.152 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.976e-05/0.4191, allocations: 39.86 kB / 1.152 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/0.4201, allocations: 135.6 kB / 1.152 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.4202, allocations: 68 kB / 1.152 GB, free: 0.7344 MB / 0.9044 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.001375/0.4216, allocations: 0.9732 MB / 1.153 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.4218, allocations: 106.7 kB / 1.153 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.424, allocations: 1.234 MB / 1.155 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.424, allocations: 8 kB / 1.155 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.4241, allocations: 4 kB / 1.155 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4241, allocations: 3.984 kB / 1.155 GB, free: 14.37 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006113/0.4302, allocations: 3.811 MB / 1.158 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4302, allocations: 0 / 1.158 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.4309, allocations: 155.8 kB / 1.159 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/0.4312, allocations: 143.5 kB / 1.159 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.4313, allocations: 23.98 kB / 1.159 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.4313, allocations: 7.938 kB / 1.159 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.4313, allocations: 4.094 kB / 1.159 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.4333, allocations: 1.472 MB / 1.16 GB, free: 8.547 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.4337, allocations: 267.8 kB / 1.16 GB, free: 8.266 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.4339, allocations: 12 kB / 1.16 GB, free: 8.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/0.4346, allocations: 67.91 kB / 1.161 GB, free: 8.188 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.4347, allocations: 60.36 kB / 1.161 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.4348, allocations: 24 kB / 1.161 GB, free: 8.105 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009866/0.4358, allocations: 0.6992 MB / 1.161 GB, free: 7.395 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4358, allocations: 0 / 1.161 GB, free: 7.395 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001433/0.4372, allocations: 388.1 kB / 1.162 GB, free: 7.016 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.002403/0.4397, allocations: 2.044 MB / 1.164 GB, free: 4.898 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003438/0.4431, allocations: 2.007 MB / 1.166 GB, free: 2.809 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.4431, allocations: 7.938 kB / 1.166 GB, free: 2.801 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.4442, allocations: 0.8523 MB / 1.166 GB, free: 1.867 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.4462, allocations: 281.7 kB / 1.167 GB, free: 1.594 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/0.468, allocations: 13.33 MB / 1.18 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.4703, allocations: 1.92 MB / 1.182 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001229/0.4715, allocations: 449.6 kB / 1.182 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.4725, allocations: 0.7102 MB / 1.183 GB, free: 304 kB / 0.9356 GB Notification: Performance of SimCode: time 8.71e-07/0.4726, allocations: 4 kB / 1.183 GB, free: 300 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05564/0.5282, allocations: 27.3 MB / 1.209 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.647/10.18, allocations: 7.922 kB / 1.209 GB, free: 5.309 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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