Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_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.001332/0.001332, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001536/0.001536, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.211/1.211, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.308/2.308, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 71.88 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5203/0.5215, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005342/0.5269, allocations: 4.912 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003134/0.53, allocations: 2.475 MB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.5302, allocations: 23.81 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009391/0.5312, allocations: 370.4 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006854/0.5319, allocations: 414 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006534/0.5326, allocations: 367 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000736/0.5333, allocations: 0.9212 MB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004918/0.5338, allocations: 394.5 kB / 1.027 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.5341, allocations: 350.5 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.5345, allocations: 358.5 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.5345, allocations: 40 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.535, allocations: 399.1 kB / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.5352, allocations: 187.4 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.5354, allocations: 326.2 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007365/0.5361, allocations: 0.9093 MB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5362, allocations: 0 / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5362, allocations: 0 / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.5362, allocations: 0 / 1.029 GB, free: 6.277 MB / 0.7794 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.001149/0.5373, allocations: 0.9474 MB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.5374, allocations: 12.03 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.434e-05/0.5375, allocations: 94.62 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.5386, allocations: 211.7 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.5392, allocations: 498.3 kB / 1.031 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.5392, allocations: 37.36 kB / 1.031 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.5393, allocations: 44.36 kB / 1.031 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000904/0.5402, allocations: 0.8446 MB / 1.032 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.5402, allocations: 7.938 kB / 1.032 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.5403, allocations: 23.98 kB / 1.032 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.657e-05/0.5403, allocations: 64.95 kB / 1.032 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.5411, allocations: 0.5734 MB / 1.032 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.5445, allocations: 5.65 MB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005472/0.5451, allocations: 462.6 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.5453, allocations: 233.2 kB / 1.038 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.5454, allocations: 7.984 kB / 1.038 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.5454, allocations: 38.56 kB / 1.038 GB, free: 11.92 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.5454, allocations: 0 / 1.038 GB, free: 11.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002156/0.5476, allocations: 1.499 MB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.5476, allocations: 59.69 kB / 1.04 GB, free: 10.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.548, allocations: 0.5028 MB / 1.041 GB, free: 9.715 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.5481, allocations: 29.7 kB / 1.041 GB, free: 9.68 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.5483, allocations: 350.8 kB / 1.041 GB, free: 9.332 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.5484, allocations: 122.4 kB / 1.041 GB, free: 9.211 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.5485, allocations: 110.2 kB / 1.041 GB, free: 9.098 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5486, allocations: 366.8 kB / 1.041 GB, free: 8.73 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.5489, allocations: 201.1 kB / 1.042 GB, free: 8.531 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.5492, allocations: 447.3 kB / 1.042 GB, free: 7.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006834/0.5499, allocations: 0.6915 MB / 1.043 GB, free: 7.172 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5499, allocations: 0 / 1.043 GB, free: 7.172 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0011/0.5511, allocations: 0.8128 MB / 1.044 GB, free: 6.336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5511, allocations: 8 kB / 1.044 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5511, allocations: 8 kB / 1.044 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.5516, allocations: 160.8 kB / 1.044 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.552, allocations: 119.8 kB / 1.044 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.5548, allocations: 4.351 MB / 1.048 GB, free: 1.262 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.5552, allocations: 35.97 kB / 1.048 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.5552, allocations: 28 kB / 1.048 GB, free: 1.199 MB / 0.795 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.00023/0.5555, allocations: 217.4 kB / 1.048 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.5555, allocations: 63.25 kB / 1.048 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009301/0.5565, allocations: 0.6051 MB / 1.049 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5565, allocations: 4 kB / 1.049 GB, free: 292 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.5565, allocations: 3.938 kB / 1.049 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5565, allocations: 0 / 1.049 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.5581, allocations: 1.27 MB / 1.05 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5581, allocations: 0 / 1.05 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.5583, allocations: 55.89 kB / 1.05 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000362/0.5587, allocations: 148.3 kB / 1.05 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.5587, allocations: 15.94 kB / 1.05 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.5614, allocations: 4.325 MB / 1.055 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5614, allocations: 3.938 kB / 1.055 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.5623, allocations: 0.7044 MB / 1.055 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.5625, allocations: 164.3 kB / 1.056 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.5625, allocations: 11.98 kB / 1.056 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.5628, allocations: 27.91 kB / 1.056 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.5628, allocations: 35.91 kB / 1.056 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.5629, allocations: 8 kB / 1.056 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002907/0.5632, allocations: 338.8 kB / 1.056 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.5632, allocations: 0 / 1.056 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005333/0.5637, allocations: 144 kB / 1.056 GB, free: 8.453 MB / 0.8106 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.001111/0.5648, allocations: 1.268 MB / 1.057 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.5661, allocations: 1.072 MB / 1.058 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5661, allocations: 0 / 1.058 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000716/0.5668, allocations: 0.7499 MB / 1.059 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.5677, allocations: 205.4 kB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/0.5732, allocations: 5.459 MB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.5736, allocations: 0.9098 MB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003119/0.5739, allocations: 125.3 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.5741, allocations: 191.4 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.5741, allocations: 0 / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.205/1.78, allocations: 12.66 MB / 1.078 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.78, allocations: 239.4 kB / 1.078 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/3.884, allocations: 3.938 kB / 1.078 GB, free: 1.246 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches