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.007617/0.007617, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001832/0.001832, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 60.12 kB / 1.054 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2772, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006315/0.2836, allocations: 4.892 MB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004084/0.2877, allocations: 2.483 MB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005067/0.2882, allocations: 23.81 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.2895, allocations: 411.7 kB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.2905, allocations: 445.6 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.2914, allocations: 405.7 kB / 1.216 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008846/0.2923, allocations: 0.9251 MB / 1.217 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.2927, allocations: 354.8 kB / 1.217 GB, free: 232 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003865/0.2931, allocations: 346.6 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.2935, allocations: 346.5 kB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/0.2936, allocations: 40 kB / 1.218 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006164/0.2942, allocations: 403.1 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.2944, allocations: 187.4 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.2947, allocations: 322.2 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008383/0.2955, allocations: 0.8876 MB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2955, allocations: 0 / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2955, allocations: 0 / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.2955, allocations: 0 / 1.219 GB, free: 13.72 MB / 0.9825 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.001288/0.2968, allocations: 0.954 MB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2969, allocations: 12.62 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.756e-05/0.297, allocations: 86.7 kB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.2981, allocations: 199.9 kB / 1.221 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.2989, allocations: 0.549 MB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.2989, allocations: 37.36 kB / 1.221 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.299, allocations: 48.31 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009126/0.2999, allocations: 0.8446 MB / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.2999, allocations: 11.84 kB / 1.222 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.3, allocations: 23.98 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.47e-05/0.3001, allocations: 60.95 kB / 1.222 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007308/0.3008, allocations: 0.5695 MB / 1.223 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.3044, allocations: 5.639 MB / 1.228 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.305, allocations: 450.3 kB / 1.229 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.3053, allocations: 229.3 kB / 1.229 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.3053, allocations: 11.97 kB / 1.229 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3054, allocations: 34.56 kB / 1.229 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 1.844e-06/0.3054, allocations: 3.938 kB / 1.229 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002239/0.3076, allocations: 1.516 MB / 1.23 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.3076, allocations: 51.69 kB / 1.23 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.3081, allocations: 0.5029 MB / 1.231 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3081, allocations: 37.64 kB / 1.231 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.3084, allocations: 362.8 kB / 1.231 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/0.3084, allocations: 118.4 kB / 1.231 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.3086, allocations: 110.2 kB / 1.231 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3087, allocations: 362.8 kB / 1.232 GB, free: 132 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.309, allocations: 201.1 kB / 1.232 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.3094, allocations: 447.3 kB / 1.232 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.3101, allocations: 0.6876 MB / 1.233 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3101, allocations: 4 kB / 1.233 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001126/0.3112, allocations: 0.8094 MB / 1.234 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3112, allocations: 8 kB / 1.234 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3113, allocations: 11.94 kB / 1.234 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/0.3117, allocations: 164.5 kB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.3121, allocations: 119.8 kB / 1.234 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.315, allocations: 4.34 MB / 1.238 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.3154, allocations: 35.97 kB / 1.238 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.3154, allocations: 24 kB / 1.239 GB, free: 8.605 MB / 0.9981 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.0002274/0.3156, allocations: 225.6 kB / 1.239 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.3157, allocations: 55.34 kB / 1.239 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009075/0.3166, allocations: 0.6049 MB / 1.239 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.3166, allocations: 4 kB / 1.239 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3167, allocations: 4 kB / 1.239 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3167, allocations: 4 kB / 1.239 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.3182, allocations: 1.257 MB / 1.241 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3182, allocations: 4 kB / 1.241 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.3185, allocations: 55.89 kB / 1.241 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/0.3188, allocations: 140.4 kB / 1.241 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3189, allocations: 11.94 kB / 1.241 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.3216, allocations: 4.339 MB / 1.245 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3216, allocations: 4.031 kB / 1.245 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/0.3225, allocations: 0.7077 MB / 1.246 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.3227, allocations: 168.3 kB / 1.246 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.3227, allocations: 15.98 kB / 1.246 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.323, allocations: 19.98 kB / 1.246 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.3231, allocations: 35.83 kB / 1.246 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3231, allocations: 8 kB / 1.246 GB, free: 328 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5733/0.8964, allocations: 340.4 kB / 1.246 GB, free: 37.85 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8964, allocations: 0 / 1.246 GB, free: 37.85 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009596/0.8974, allocations: 139.9 kB / 1.246 GB, free: 37.85 MB / 0.9981 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.001178/0.8986, allocations: 1.259 MB / 1.248 GB, free: 37.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.8999, allocations: 1.037 MB / 1.249 GB, free: 36.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.8999, allocations: 1.031 kB / 1.249 GB, free: 36.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007006/0.9006, allocations: 0.7425 MB / 1.249 GB, free: 36.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009532/0.9016, allocations: 202.9 kB / 1.25 GB, free: 36.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.9067, allocations: 5.148 MB / 1.255 GB, free: 33.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.907, allocations: 0.9055 MB / 1.256 GB, free: 32.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003404/0.9074, allocations: 126.1 kB / 1.256 GB, free: 32.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.9076, allocations: 195.7 kB / 1.256 GB, free: 32.96 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.9076, allocations: 0 / 1.256 GB, free: 32.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04496/0.9526, allocations: 13.07 MB / 1.269 GB, free: 31.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.522/10.47, allocations: 10.09 kB / 1.269 GB, free: 31.98 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