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.001721/0.001721, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001852/0.001852, allocations: 216.8 kB / 22.99 MB, free: 4.945 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.754/2.754, allocations: 476 MB / 0.7707 GB, free: 4.715 MB / 0.6231 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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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: 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.002148/0.002148, allocations: 68.31 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3207, allocations: 170 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006851/0.3276, allocations: 4.673 MB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004355/0.3319, allocations: 2.436 MB / 1.291 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.3323, allocations: 35.62 kB / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.3335, allocations: 400.3 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.3345, allocations: 469.6 kB / 1.292 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008766/0.3354, allocations: 404.9 kB / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.3365, allocations: 0.9256 MB / 1.293 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.337, allocations: 322.3 kB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.3375, allocations: 362.6 kB / 1.294 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005005/0.338, allocations: 346.4 kB / 1.294 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.017e-05/0.338, allocations: 40 kB / 1.294 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006388/0.3387, allocations: 359.2 kB / 1.294 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.3389, allocations: 183.4 kB / 1.294 GB, free: 1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.3392, allocations: 266.6 kB / 1.295 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.3402, allocations: 0.8948 MB / 1.296 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3402, allocations: 0 / 1.296 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3402, allocations: 4 kB / 1.296 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.3402, allocations: 4 kB / 1.296 GB, free: 15.83 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.001475/0.3417, allocations: 0.8935 MB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3418, allocations: 12.03 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.343, allocations: 212.2 kB / 1.297 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009367/0.3439, allocations: 484.8 kB / 1.297 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.344, allocations: 37.36 kB / 1.297 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/0.3441, allocations: 44.38 kB / 1.297 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.3453, allocations: 0.9781 MB / 1.298 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.3454, allocations: 7.938 kB / 1.298 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.3454, allocations: 23.98 kB / 1.298 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.3455, allocations: 68.95 kB / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009193/0.3464, allocations: 0.5655 MB / 1.299 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004658/0.3511, allocations: 4.639 MB / 1.303 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.3518, allocations: 422.2 kB / 1.304 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.3521, allocations: 200.7 kB / 1.304 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3521, allocations: 4 kB / 1.304 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3521, allocations: 39.03 kB / 1.304 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.3521, allocations: 0 / 1.304 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002507/0.3547, allocations: 1.134 MB / 1.305 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3547, allocations: 59.62 kB / 1.305 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.3552, allocations: 482.6 kB / 1.306 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.3553, allocations: 29.7 kB / 1.306 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.3556, allocations: 380.2 kB / 1.306 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3557, allocations: 119 kB / 1.306 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.3558, allocations: 110.2 kB / 1.306 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.356, allocations: 362.8 kB / 1.307 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.3563, allocations: 193.2 kB / 1.307 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.3568, allocations: 451.3 kB / 1.307 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009111/0.3578, allocations: 0.6918 MB / 1.308 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3578, allocations: 0 / 1.308 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001342/0.3591, allocations: 0.8139 MB / 1.309 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3591, allocations: 8 kB / 1.309 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3591, allocations: 8 kB / 1.309 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004965/0.3596, allocations: 152.1 kB / 1.309 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.3601, allocations: 119.8 kB / 1.309 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/0.3637, allocations: 3.969 MB / 1.313 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.3641, allocations: 35.95 kB / 1.313 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.3641, allocations: 28 kB / 1.313 GB, free: 13.07 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.0002751/0.3644, allocations: 214.3 kB / 1.313 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.3645, allocations: 67.69 kB / 1.313 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.3655, allocations: 0.5887 MB / 1.314 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3655, allocations: 4 kB / 1.314 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3655, allocations: 4 kB / 1.314 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3656, allocations: 0 / 1.314 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.3674, allocations: 1.113 MB / 1.315 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.3674, allocations: 7.938 kB / 1.315 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.3676, allocations: 60.17 kB / 1.315 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/0.368, allocations: 144.1 kB / 1.315 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.3681, allocations: 8 kB / 1.315 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003448/0.3715, allocations: 3.949 MB / 1.319 GB, free: 6.492 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/0.3715, allocations: 15.94 kB / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3726, allocations: 0.7007 MB / 1.32 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.3728, allocations: 91.58 kB / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.3729, allocations: 15.88 kB / 1.32 GB, free: 5.617 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.3731, allocations: 19.97 kB / 1.32 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.3732, allocations: 35.89 kB / 1.32 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3732, allocations: 8 kB / 1.32 GB, free: 5.555 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003589/0.3736, allocations: 310.9 kB / 1.32 GB, free: 5.254 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3736, allocations: 3.938 kB / 1.32 GB, free: 5.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006099/0.3742, allocations: 144 kB / 1.32 GB, free: 5.109 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.0001412/0.3743, allocations: 115.1 kB / 1.32 GB, free: 4.988 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.3757, allocations: 0.863 MB / 1.321 GB, free: 4.082 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3757, allocations: 0 / 1.321 GB, free: 4.082 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008372/0.3765, allocations: 0.5761 MB / 1.322 GB, free: 3.461 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.3775, allocations: 206.2 kB / 1.322 GB, free: 3.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.3791, allocations: 1.113 MB / 1.323 GB, free: 2.102 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3795, allocations: 307.9 kB / 1.323 GB, free: 1.773 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.3796, allocations: 43.44 kB / 1.323 GB, free: 1.73 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.3796, allocations: 0 / 1.323 GB, free: 1.73 MB / 1.014 GB Notification: Performance of Templates: time 0.02265/0.4022, allocations: 18.4 MB / 1.341 GB, free: 15.36 MB / 1.045 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 [Calling sys.exit(0), Time elapsed: 13.855437978170812]