Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 116.1 kB / 17.16 MB, free: 6.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 205.5 kB / 20.13 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.804/2.804, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8788/0.8809, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00747/0.8884, allocations: 4.97 MB / 1.284 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004678/0.893, allocations: 2.547 MB / 1.286 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.8935, allocations: 36.16 kB / 1.286 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.8948, allocations: 404.6 kB / 1.287 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.896, allocations: 469.5 kB / 1.287 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.8971, allocations: 397.7 kB / 1.288 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.8983, allocations: 0.9309 MB / 1.288 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.8988, allocations: 285.8 kB / 1.289 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005662/0.8993, allocations: 360.4 kB / 1.289 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005235/0.8998, allocations: 374.3 kB / 1.289 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.8999, allocations: 37.91 kB / 1.289 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007965/0.9007, allocations: 411.9 kB / 1.29 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.9009, allocations: 193.2 kB / 1.29 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.9013, allocations: 322.1 kB / 1.29 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.9025, allocations: 0.8923 MB / 1.291 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.9025, allocations: 1.953 kB / 1.291 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9025, allocations: 0 / 1.291 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.9026, allocations: 0 / 1.291 GB, free: 4.215 MB / 0.9981 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.001704/0.9043, allocations: 0.969 MB / 1.292 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9043, allocations: 10.88 kB / 1.292 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.803e-05/0.9043, allocations: 11.97 kB / 1.292 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.9044, allocations: 101.7 kB / 1.292 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.9058, allocations: 203.2 kB / 1.292 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000905/0.9068, allocations: 0.5531 MB / 1.293 GB, free: 3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.9068, allocations: 34.8 kB / 1.293 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.9069, allocations: 42.59 kB / 1.293 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.9081, allocations: 0.843 MB / 1.294 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.9081, allocations: 20.5 kB / 1.294 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.859e-05/0.9082, allocations: 24.48 kB / 1.294 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.856e-05/0.9083, allocations: 66.22 kB / 1.294 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009237/0.9092, allocations: 0.5671 MB / 1.295 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005314/0.9145, allocations: 5.649 MB / 1.3 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.9153, allocations: 423.7 kB / 1.3 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.9156, allocations: 206.2 kB / 1.301 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.9156, allocations: 4.156 kB / 1.301 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.9156, allocations: 36.73 kB / 1.301 GB, free: 12.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/0.9156, allocations: 0 / 1.301 GB, free: 12.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002818/0.9185, allocations: 1.52 MB / 1.302 GB, free: 11.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.9185, allocations: 54.81 kB / 1.302 GB, free: 11.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006358/0.9191, allocations: 0.5009 MB / 1.303 GB, free: 11.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.9192, allocations: 31.05 kB / 1.303 GB, free: 11.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.9195, allocations: 371.5 kB / 1.303 GB, free: 11.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.9196, allocations: 125.7 kB / 1.303 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.9198, allocations: 107.7 kB / 1.303 GB, free: 11.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.92, allocations: 370.8 kB / 1.304 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.9203, allocations: 195 kB / 1.304 GB, free: 10.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.9208, allocations: 453.1 kB / 1.304 GB, free: 10.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009026/0.9217, allocations: 0.6844 MB / 1.305 GB, free: 9.684 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.9218, allocations: 3.938 kB / 1.305 GB, free: 9.684 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001394/0.9231, allocations: 0.8147 MB / 1.306 GB, free: 9.316 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9232, allocations: 9.25 kB / 1.306 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.9232, allocations: 17.27 kB / 1.306 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005324/0.9237, allocations: 151.5 kB / 1.306 GB, free: 9.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.9242, allocations: 122.2 kB / 1.306 GB, free: 9.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.9284, allocations: 4.351 MB / 1.31 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006257/0.929, allocations: 36.5 kB / 1.31 GB, free: 4.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.9291, allocations: 28.12 kB / 1.31 GB, free: 4.93 MB / 1.014 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.0003694/0.9294, allocations: 212.6 kB / 1.311 GB, free: 4.762 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.9296, allocations: 70.19 kB / 1.311 GB, free: 4.723 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.9308, allocations: 0.6012 MB / 1.311 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9308, allocations: 4.672 kB / 1.311 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.9308, allocations: 5.062 kB / 1.311 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9308, allocations: 2.875 kB / 1.311 GB, free: 4.434 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.9329, allocations: 1.263 MB / 1.312 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9329, allocations: 2.062 kB / 1.312 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.9332, allocations: 59.69 kB / 1.313 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.9337, allocations: 150.4 kB / 1.313 GB, free: 3.637 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.9337, allocations: 8.344 kB / 1.313 GB, free: 3.633 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003799/0.9375, allocations: 4.325 MB / 1.317 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.9375, allocations: 9.688 kB / 1.317 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.9387, allocations: 0.7103 MB / 1.318 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.939, allocations: 175.7 kB / 1.318 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.939, allocations: 7.984 kB / 1.318 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.9393, allocations: 26.31 kB / 1.318 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.9394, allocations: 31.14 kB / 1.318 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.9394, allocations: 17.16 kB / 1.318 GB, free: 14.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004357/0.9399, allocations: 338.7 kB / 1.318 GB, free: 14.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9399, allocations: 0 / 1.318 GB, free: 14.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007122/0.9406, allocations: 139.2 kB / 1.318 GB, free: 14.6 MB / 1.029 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.001462/0.942, allocations: 1.266 MB / 1.32 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.9436, allocations: 1.005 MB / 1.321 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9436, allocations: 1.156 kB / 1.321 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/0.9446, allocations: 0.7196 MB / 1.321 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.9457, allocations: 212.3 kB / 1.321 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007026/0.9527, allocations: 5.157 MB / 1.326 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.9533, allocations: 0.9108 MB / 1.327 GB, free: 8.234 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003926/0.9537, allocations: 113.3 kB / 1.327 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.9539, allocations: 195.4 kB / 1.328 GB, free: 8.07 MB / 1.029 GB Notification: Performance of SimCode: time 1.252e-06/0.9539, allocations: 0 / 1.328 GB, free: 8.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04537/0.9993, allocations: 13.01 MB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.43, allocations: 11.91 kB / 1.34 GB, free: 2.832 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.76931818498997]