Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_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.001618/0.001618, 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.002105/0.002105, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.3 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.5226, allocations: 140.4 MB / 0.9493 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004384/0.527, allocations: 4.911 MB / 0.954 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.5297, allocations: 2.465 MB / 0.9565 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.5299, allocations: 27.69 kB / 0.9565 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008287/0.5307, allocations: 363.6 kB / 0.9568 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005826/0.5313, allocations: 413.3 kB / 0.9572 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.5319, allocations: 366.9 kB / 0.9576 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.5325, allocations: 0.9267 MB / 0.9585 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004296/0.533, allocations: 392.2 kB / 0.9589 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.5333, allocations: 347.2 kB / 0.9592 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.5336, allocations: 362.9 kB / 0.9595 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.5336, allocations: 42.34 kB / 0.9596 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.5341, allocations: 399.8 kB / 0.9599 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.5342, allocations: 184 kB / 0.9601 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.5345, allocations: 323.2 kB / 0.9604 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.5351, allocations: 0.9068 MB / 0.9613 GB, free: 220 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5351, allocations: 3.938 kB / 0.9613 GB, free: 216 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5351, allocations: 1.438 kB / 0.9613 GB, free: 216 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5352, allocations: 0 / 0.9613 GB, free: 216 kB / 0.7169 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.001134/0.5363, allocations: 0.9516 MB / 0.9623 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.5363, allocations: 9.406 kB / 0.9623 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.78e-05/0.5364, allocations: 93 kB / 0.9624 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.5376, allocations: 210.7 kB / 0.9626 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.5381, allocations: 0.4917 MB / 0.963 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.5382, allocations: 31.88 kB / 0.9631 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.5382, allocations: 49.36 kB / 0.9631 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.5392, allocations: 0.8481 MB / 0.9639 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.5392, allocations: 6.531 kB / 0.9639 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.5393, allocations: 28.58 kB / 0.964 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.825e-05/0.5394, allocations: 65.64 kB / 0.964 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.5402, allocations: 0.5636 MB / 0.9646 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003829/0.544, allocations: 5.657 MB / 0.9701 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.5446, allocations: 459.5 kB / 0.9705 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.5449, allocations: 227 kB / 0.9708 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.5449, allocations: 4.125 kB / 0.9708 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.5449, allocations: 43.81 kB / 0.9708 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.483e-06/0.545, allocations: 3.938 kB / 0.9708 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002211/0.5472, allocations: 1.507 MB / 0.9723 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.5472, allocations: 54.22 kB / 0.9723 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.5477, allocations: 0.5057 MB / 0.9728 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.5477, allocations: 31.7 kB / 0.9729 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.5479, allocations: 352 kB / 0.9732 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.653e-05/0.548, allocations: 118.8 kB / 0.9733 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.5482, allocations: 115.6 kB / 0.9734 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5483, allocations: 362.9 kB / 0.9738 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.5486, allocations: 199.1 kB / 0.974 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.549, allocations: 444.1 kB / 0.9744 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/0.5497, allocations: 0.6935 MB / 0.9751 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5497, allocations: 2.562 kB / 0.9751 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001153/0.5509, allocations: 0.8083 MB / 0.9758 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5509, allocations: 8.969 kB / 0.9759 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5509, allocations: 12.22 kB / 0.9759 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00044/0.5513, allocations: 150.1 kB / 0.976 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.5518, allocations: 129.8 kB / 0.9761 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.5547, allocations: 4.347 MB / 0.9804 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.555, allocations: 33.34 kB / 0.9804 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.5551, allocations: 27.66 kB / 0.9804 GB, free: 15.43 MB / 0.7481 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.0002204/0.5553, allocations: 222.2 kB / 0.9807 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.5554, allocations: 61.88 kB / 0.9807 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000909/0.5563, allocations: 0.5952 MB / 0.9813 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5563, allocations: 3.812 kB / 0.9813 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5563, allocations: 0.9062 kB / 0.9813 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5563, allocations: 1.125 kB / 0.9813 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.5579, allocations: 1.266 MB / 0.9825 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5579, allocations: 1.438 kB / 0.9825 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.5582, allocations: 54.92 kB / 0.9826 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/0.5586, allocations: 140.1 kB / 0.9827 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.5586, allocations: 11.41 kB / 0.9827 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.5614, allocations: 4.338 MB / 0.987 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5614, allocations: 0 / 0.987 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/0.5623, allocations: 0.72 MB / 0.9877 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.5625, allocations: 172.3 kB / 0.9878 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.5626, allocations: 8 kB / 0.9878 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.5628, allocations: 23.97 kB / 0.9879 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.5629, allocations: 39.81 kB / 0.9879 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.5629, allocations: 12 kB / 0.9879 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003027/0.5632, allocations: 338.8 kB / 0.9882 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5632, allocations: 0 / 0.9882 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005404/0.5638, allocations: 140 kB / 0.9884 GB, free: 7.816 MB / 0.7481 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.001102/0.5649, allocations: 1.253 MB / 0.9896 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.5661, allocations: 1.083 MB / 0.9907 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5661, allocations: 0 / 0.9907 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.5669, allocations: 0.7385 MB / 0.9914 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.5678, allocations: 199.3 kB / 0.9916 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.5734, allocations: 5.466 MB / 0.9969 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.5738, allocations: 0.9096 MB / 0.9978 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003034/0.5742, allocations: 125.3 kB / 0.9979 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.5744, allocations: 198.2 kB / 0.9981 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of SimCode: time 2.3e-07/0.5744, allocations: 0 / 0.9981 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.042/2.616, allocations: 12.66 MB / 1.01 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/2.616, allocations: 242.7 kB / 1.011 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/5.318, allocations: 4.062 kB / 1.011 GB, free: 0.6172 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches