Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.007543/0.007543, allocations: 102.8 kB / 15.73 MB, free: 5.539 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.00182/0.00182, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.375/2.375, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.11 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7226/0.7239, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006314/0.7303, allocations: 4.902 MB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004023/0.7343, allocations: 2.483 MB / 1.214 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.7349, allocations: 23.81 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.7362, allocations: 401.9 kB / 1.215 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.7373, allocations: 449.6 kB / 1.215 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009638/0.7383, allocations: 396.5 kB / 1.216 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.7395, allocations: 0.9251 MB / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005921/0.7401, allocations: 348.8 kB / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/0.7406, allocations: 346.6 kB / 1.217 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005647/0.7412, allocations: 350.5 kB / 1.218 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.7413, allocations: 43.94 kB / 1.218 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007111/0.742, allocations: 403.1 kB / 1.218 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.7423, allocations: 187.4 kB / 1.218 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.7426, allocations: 314.3 kB / 1.218 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.7438, allocations: 0.8914 MB / 1.219 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7438, allocations: 0 / 1.219 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7438, allocations: 0 / 1.219 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.381e-05/0.7438, allocations: 0 / 1.219 GB, free: 1.117 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001542/0.7454, allocations: 0.9502 MB / 1.22 GB, free: 116 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.7454, allocations: 8.031 kB / 1.22 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.7455, allocations: 94.69 kB / 1.22 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.7469, allocations: 207.8 kB / 1.221 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009564/0.7478, allocations: 0.5451 MB / 1.221 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.7479, allocations: 29.38 kB / 1.221 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.748, allocations: 52.3 kB / 1.221 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.7491, allocations: 0.8485 MB / 1.222 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.7491, allocations: 15.78 kB / 1.222 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.7492, allocations: 23.98 kB / 1.222 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.593e-05/0.7493, allocations: 60.95 kB / 1.222 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.7501, allocations: 0.5695 MB / 1.223 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00438/0.7545, allocations: 5.647 MB / 1.228 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.7551, allocations: 462.8 kB / 1.229 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.7554, allocations: 220.7 kB / 1.229 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.7555, allocations: 4.531 kB / 1.229 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.7555, allocations: 38.56 kB / 1.229 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 1.754e-06/0.7555, allocations: 0 / 1.229 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002511/0.758, allocations: 1.508 MB / 1.23 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.7581, allocations: 59.69 kB / 1.23 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.7586, allocations: 0.499 MB / 1.231 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.7586, allocations: 29.7 kB / 1.231 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.7588, allocations: 354.8 kB / 1.231 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.835e-05/0.759, allocations: 122.3 kB / 1.231 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.7591, allocations: 114.2 kB / 1.231 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7592, allocations: 370.7 kB / 1.232 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.7595, allocations: 189.2 kB / 1.232 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.76, allocations: 451.3 kB / 1.232 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007556/0.7607, allocations: 0.6954 MB / 1.233 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.7607, allocations: 4 kB / 1.233 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001222/0.762, allocations: 0.8013 MB / 1.234 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.762, allocations: 12 kB / 1.234 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.762, allocations: 8 kB / 1.234 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004753/0.7625, allocations: 164.6 kB / 1.234 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.7629, allocations: 119.8 kB / 1.234 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.7662, allocations: 4.344 MB / 1.238 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.7666, allocations: 31.97 kB / 1.238 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.7666, allocations: 28 kB / 1.239 GB, free: 12 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000238/0.7669, allocations: 217.7 kB / 1.239 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/0.767, allocations: 67.23 kB / 1.239 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009457/0.7679, allocations: 0.6011 MB / 1.239 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.7679, allocations: 4 kB / 1.239 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.7679, allocations: 4 kB / 1.239 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7679, allocations: 0 / 1.239 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.7697, allocations: 1.261 MB / 1.241 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.7697, allocations: 0 / 1.241 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.77, allocations: 55.89 kB / 1.241 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.7704, allocations: 144.4 kB / 1.241 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.7704, allocations: 15.92 kB / 1.241 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.7734, allocations: 4.332 MB / 1.245 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7734, allocations: 0 / 1.245 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/0.7744, allocations: 0.7115 MB / 1.246 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.7746, allocations: 172.3 kB / 1.246 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.7747, allocations: 8 kB / 1.246 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.7749, allocations: 23.97 kB / 1.246 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.775, allocations: 35.83 kB / 1.246 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.775, allocations: 12 kB / 1.246 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003376/0.7754, allocations: 338.8 kB / 1.246 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7754, allocations: 4 kB / 1.246 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000581/0.776, allocations: 144 kB / 1.246 GB, free: 3.238 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.7772, allocations: 1.257 MB / 1.248 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.7786, allocations: 1.045 MB / 1.249 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.7786, allocations: 0 / 1.249 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000804/0.7794, allocations: 0.7385 MB / 1.249 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.7804, allocations: 211 kB / 1.25 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006128/0.7865, allocations: 5.149 MB / 1.255 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.787, allocations: 0.9098 MB / 1.256 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003127/0.7873, allocations: 113.3 kB / 1.256 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.7876, allocations: 195.4 kB / 1.256 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.7876, allocations: 4 kB / 1.256 GB, free: 9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/0.8274, allocations: 13.08 MB / 1.269 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.751/10.58, allocations: 5.562 kB / 1.269 GB, free: 12.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches