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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 249.9 MB, free: 13.59 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7634 GB, free: 10.9 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 1.108 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.885/0.8869, allocations: 168.7 MB / 1.272 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007218/0.8941, allocations: 4.958 MB / 1.277 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004308/0.8984, allocations: 2.51 MB / 1.28 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.8987, allocations: 27.81 kB / 1.28 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.9, allocations: 405.9 kB / 1.28 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009929/0.901, allocations: 469.6 kB / 1.281 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008558/0.9018, allocations: 401.4 kB / 1.281 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.9029, allocations: 0.9251 MB / 1.282 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/0.9034, allocations: 289.2 kB / 1.282 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000454/0.9039, allocations: 346.6 kB / 1.282 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005125/0.9044, allocations: 366.4 kB / 1.283 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.9044, allocations: 44 kB / 1.283 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/0.9051, allocations: 411 kB / 1.283 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.9054, allocations: 195.3 kB / 1.283 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.9057, allocations: 318.2 kB / 1.284 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.9068, allocations: 0.9025 MB / 1.285 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9068, allocations: 0 / 1.285 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9068, allocations: 0 / 1.285 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.9068, allocations: 0 / 1.285 GB, free: 8.297 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.001615/0.9084, allocations: 0.961 MB / 1.286 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9085, allocations: 12.03 kB / 1.286 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.9097, allocations: 208.2 kB / 1.286 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008984/0.9106, allocations: 0.5573 MB / 1.286 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.9107, allocations: 37.34 kB / 1.286 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.9107, allocations: 40.38 kB / 1.286 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.9121, allocations: 0.8448 MB / 1.287 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.9121, allocations: 7.938 kB / 1.287 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.9122, allocations: 23.98 kB / 1.287 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.9123, allocations: 72.89 kB / 1.287 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009055/0.9132, allocations: 0.5617 MB / 1.288 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005127/0.9183, allocations: 5.651 MB / 1.293 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/0.919, allocations: 426.7 kB / 1.294 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.9193, allocations: 205.3 kB / 1.294 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.9193, allocations: 4 kB / 1.294 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.9193, allocations: 30.56 kB / 1.294 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.9193, allocations: 0 / 1.294 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002837/0.9222, allocations: 1.525 MB / 1.295 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.9222, allocations: 55.69 kB / 1.296 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.9228, allocations: 0.503 MB / 1.296 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.9228, allocations: 29.7 kB / 1.296 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.9231, allocations: 375.7 kB / 1.296 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.9233, allocations: 123 kB / 1.297 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.9234, allocations: 110.2 kB / 1.297 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.9236, allocations: 362.8 kB / 1.297 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.924, allocations: 193.2 kB / 1.297 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.9245, allocations: 447.3 kB / 1.298 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009212/0.9255, allocations: 0.6913 MB / 1.298 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.9255, allocations: 7.938 kB / 1.298 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001314/0.9268, allocations: 0.8098 MB / 1.299 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.9268, allocations: 11.98 kB / 1.299 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.9268, allocations: 12 kB / 1.299 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/0.9273, allocations: 156.5 kB / 1.299 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.9278, allocations: 123.8 kB / 1.299 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.9316, allocations: 4.353 MB / 1.304 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.9319, allocations: 31.97 kB / 1.304 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.932, allocations: 31.94 kB / 1.304 GB, free: 3.277 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.0002726/0.9322, allocations: 215.4 kB / 1.304 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.9323, allocations: 63.62 kB / 1.304 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.9335, allocations: 0.5969 MB / 1.305 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.9335, allocations: 4 kB / 1.305 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.9335, allocations: 4 kB / 1.305 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9335, allocations: 3.984 kB / 1.305 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.9354, allocations: 1.263 MB / 1.306 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.9354, allocations: 7.984 kB / 1.306 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.9357, allocations: 51.89 kB / 1.306 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004209/0.9361, allocations: 136.4 kB / 1.306 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.9361, allocations: 15.94 kB / 1.306 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003732/0.9398, allocations: 4.329 MB / 1.31 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.9399, allocations: 8.016 kB / 1.31 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.9409, allocations: 0.7131 MB / 1.311 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.9411, allocations: 164.7 kB / 1.311 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.9412, allocations: 12 kB / 1.311 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.9415, allocations: 23.97 kB / 1.311 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.9415, allocations: 31.89 kB / 1.311 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.9416, allocations: 15.98 kB / 1.311 GB, free: 11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003815/0.9419, allocations: 338.8 kB / 1.311 GB, free: 10.67 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9419, allocations: 4 kB / 1.311 GB, free: 10.66 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006302/0.9426, allocations: 143.9 kB / 1.312 GB, free: 10.52 MB / 1.014 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.0001583/0.9427, allocations: 111.2 kB / 1.312 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.9442, allocations: 1.009 MB / 1.313 GB, free: 9.312 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9442, allocations: 3.938 kB / 1.313 GB, free: 9.309 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009058/0.9451, allocations: 0.731 MB / 1.313 GB, free: 8.496 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.9461, allocations: 208.7 kB / 1.314 GB, free: 8.301 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.9478, allocations: 1.108 MB / 1.315 GB, free: 7.137 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.9484, allocations: 0.9097 MB / 1.316 GB, free: 6.199 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.9485, allocations: 43.44 kB / 1.316 GB, free: 6.156 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.9485, allocations: 3.938 kB / 1.316 GB, free: 6.152 MB / 1.014 GB Notification: Performance of Templates: time 0.02311/0.9716, allocations: 18.39 MB / 1.334 GB, free: 3.789 MB / 1.029 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] 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