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.001877/0.001877, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00222/0.00222, allocations: 189.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.32/2.32, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.521/4.521, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 63.72 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4058, allocations: 157.4 MB / 1.052 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.009394/0.4153, allocations: 4.914 MB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005835/0.4211, allocations: 2.487 MB / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006169/0.4218, allocations: 23.81 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.4234, allocations: 362.5 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.425, allocations: 410 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.4263, allocations: 370.5 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.4279, allocations: 0.9329 MB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008815/0.4288, allocations: 386.5 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006613/0.4295, allocations: 342.5 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007004/0.4302, allocations: 358.4 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.766e-05/0.4303, allocations: 47.98 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.4314, allocations: 403.1 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.4318, allocations: 179.4 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005075/0.4323, allocations: 322.2 kB / 1.064 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.4337, allocations: 0.9151 MB / 1.065 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.4338, allocations: 4 kB / 1.065 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4338, allocations: 0 / 1.065 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.4338, allocations: 0 / 1.065 GB, free: 12.15 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002071/0.4359, allocations: 0.9347 MB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.121e-05/0.436, allocations: 12.62 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.4361, allocations: 98.62 kB / 1.066 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.438, allocations: 203.8 kB / 1.066 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.4391, allocations: 0.5022 MB / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.4391, allocations: 33.36 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4392, allocations: 40.38 kB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.441, allocations: 0.8446 MB / 1.067 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.441, allocations: 11.92 kB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/0.4411, allocations: 23.98 kB / 1.067 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.4412, allocations: 64.95 kB / 1.067 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.4424, allocations: 0.5695 MB / 1.068 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006335/0.4488, allocations: 5.658 MB / 1.073 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009135/0.4498, allocations: 450.3 kB / 1.074 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.4502, allocations: 232.7 kB / 1.074 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.4503, allocations: 4.531 kB / 1.074 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4503, allocations: 34.56 kB / 1.074 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 3.747e-06/0.4503, allocations: 0 / 1.074 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.00364/0.454, allocations: 1.513 MB / 1.075 GB, free: 188 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.4541, allocations: 55.69 kB / 1.076 GB, free: 120 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/0.4548, allocations: 0.503 MB / 1.076 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.4549, allocations: 29.7 kB / 1.076 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.4552, allocations: 358.8 kB / 1.076 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.4554, allocations: 122.3 kB / 1.076 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.4556, allocations: 114.2 kB / 1.077 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.4558, allocations: 362.8 kB / 1.077 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.4562, allocations: 197.2 kB / 1.077 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/0.4569, allocations: 451.3 kB / 1.078 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.4581, allocations: 0.6877 MB / 1.078 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4581, allocations: 4 kB / 1.078 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001858/0.4599, allocations: 0.8054 MB / 1.079 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.46, allocations: 8 kB / 1.079 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.46, allocations: 12 kB / 1.079 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007021/0.4607, allocations: 156.5 kB / 1.079 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.4614, allocations: 127.7 kB / 1.079 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004825/0.4663, allocations: 4.344 MB / 1.084 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/0.4669, allocations: 31.97 kB / 1.084 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/0.467, allocations: 36.12 kB / 1.084 GB, free: 7.082 MB / 0.8419 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.0004041/0.4674, allocations: 211 kB / 1.084 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.4676, allocations: 67.19 kB / 1.084 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.4691, allocations: 0.6011 MB / 1.084 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.4691, allocations: 7.984 kB / 1.084 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.4691, allocations: 0 / 1.084 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4692, allocations: 4 kB / 1.084 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.4719, allocations: 1.262 MB / 1.086 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4719, allocations: 0 / 1.086 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.4723, allocations: 59.89 kB / 1.086 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/0.4729, allocations: 144.3 kB / 1.086 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.4729, allocations: 11.94 kB / 1.086 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004562/0.4775, allocations: 4.332 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4775, allocations: 4.094 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.479, allocations: 0.7076 MB / 1.091 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.4794, allocations: 164.3 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.4796, allocations: 8 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.48, allocations: 23.97 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4802, allocations: 35.83 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.4802, allocations: 16 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005616/0.4808, allocations: 338.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4808, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001006/0.4818, allocations: 144 kB / 1.092 GB, free: 14.33 MB / 0.8575 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.001933/0.4838, allocations: 1.258 MB / 1.093 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002219/0.486, allocations: 1.079 MB / 1.094 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.486, allocations: 0 / 1.094 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4873, allocations: 0.7387 MB / 1.095 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.4889, allocations: 205.9 kB / 1.095 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.5, allocations: 5.453 MB / 1.1 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/0.5008, allocations: 0.9098 MB / 1.101 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000651/0.5015, allocations: 121.3 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.5019, allocations: 202 kB / 1.101 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of SimCode: time 1.443e-06/0.5019, allocations: 3.938 kB / 1.101 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0528/0.5547, allocations: 12.66 MB / 1.114 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003277/0.5551, allocations: 264.9 kB / 1.114 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/3.364, allocations: 4.062 kB / 1.114 GB, free: 7.117 MB / 0.8731 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