Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001651/0.001651, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001793/0.001793, allocations: 204 kB / 20.09 MB, free: 2.977 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.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.941/2.941, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.002062/0.002062, allocations: 63.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.177, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01778/1.195, allocations: 16.28 MB / 1.338 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009417/1.205, allocations: 4.918 MB / 1.343 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/1.206, allocations: 84.59 kB / 1.343 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002949/1.209, allocations: 1.075 MB / 1.344 GB, free: 9.992 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002578/1.212, allocations: 0.7831 MB / 1.345 GB, free: 9.512 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002725/1.215, allocations: 0.9118 MB / 1.345 GB, free: 9.008 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005036/1.22, allocations: 3.626 MB / 1.349 GB, free: 7.398 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004948/1.225, allocations: 3.542 MB / 1.352 GB, free: 6.031 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/1.228, allocations: 1.618 MB / 1.354 GB, free: 5.297 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/1.231, allocations: 1.885 MB / 1.356 GB, free: 4.508 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009083/1.232, allocations: 344.2 kB / 1.356 GB, free: 4.504 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/1.235, allocations: 0.8157 MB / 1.357 GB, free: 4.324 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002092/1.237, allocations: 1.353 MB / 1.358 GB, free: 3.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002575/1.239, allocations: 1.458 MB / 1.36 GB, free: 2.801 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008533/1.248, allocations: 5.139 MB / 1.365 GB, free: 1.199 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.248, allocations: 0 / 1.365 GB, free: 1.199 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.075e-06/1.248, allocations: 1.344 kB / 1.365 GB, free: 1.199 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002006/1.248, allocations: 0 / 1.365 GB, free: 1.199 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.009058/1.257, allocations: 2.722 MB / 1.367 GB, free: 15.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.257, allocations: 10.48 kB / 1.367 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/1.262, allocations: 0.8376 MB / 1.368 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/1.266, allocations: 1.575 MB / 1.37 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/1.266, allocations: 180.8 kB / 1.37 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009223/1.267, allocations: 238 kB / 1.37 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009778/1.277, allocations: 4.156 MB / 1.374 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.295e-05/1.277, allocations: 6.094 kB / 1.374 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003469/1.278, allocations: 102.7 kB / 1.374 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002673/1.278, allocations: 170 kB / 1.374 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008832/1.287, allocations: 3.629 MB / 1.378 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02618/1.313, allocations: 16.45 MB / 1.394 GB, free: 14.94 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/1.317, allocations: 2.236 MB / 1.396 GB, free: 13.55 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/1.318, allocations: 0.548 MB / 1.397 GB, free: 13.35 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/1.318, allocations: 97.8 kB / 1.397 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/1.318, allocations: 42.75 kB / 1.397 GB, free: 13.21 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 2.875e-06/1.318, allocations: 0 / 1.397 GB, free: 13.21 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.007054/1.325, allocations: 3.503 MB / 1.4 GB, free: 11.21 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/1.325, allocations: 116.8 kB / 1.4 GB, free: 11.08 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/1.327, allocations: 1.022 MB / 1.401 GB, free: 10.61 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/1.327, allocations: 40.61 kB / 1.402 GB, free: 10.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008745/1.328, allocations: 1.136 MB / 1.403 GB, free: 9.559 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/1.328, allocations: 287.8 kB / 1.403 GB, free: 9.312 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004817/1.329, allocations: 285.9 kB / 1.403 GB, free: 9.145 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002673/1.329, allocations: 411.3 kB / 1.404 GB, free: 8.762 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/1.33, allocations: 0.6136 MB / 1.404 GB, free: 8.453 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/1.331, allocations: 1.186 MB / 1.405 GB, free: 7.371 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/1.334, allocations: 1.862 MB / 1.407 GB, free: 5.914 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/1.334, allocations: 5.656 kB / 1.407 GB, free: 5.914 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003794/1.338, allocations: 2.028 MB / 1.409 GB, free: 4.848 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/1.338, allocations: 13 kB / 1.409 GB, free: 4.848 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/1.338, allocations: 19.31 kB / 1.409 GB, free: 4.848 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/1.338, allocations: 162.8 kB / 1.409 GB, free: 4.754 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.34, allocations: 344.3 kB / 1.41 GB, free: 4.664 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.354e-05/1.34, allocations: 46.55 kB / 1.41 GB, free: 4.645 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/1.341, allocations: 130.5 kB / 1.41 GB, free: 4.578 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.341, allocations: 67.62 kB / 1.41 GB, free: 4.566 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001875/1.343, allocations: 0.9776 MB / 1.411 GB, free: 3.941 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/1.343, allocations: 112.3 kB / 1.411 GB, free: 3.883 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/1.346, allocations: 1.226 MB / 1.412 GB, free: 3.168 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/1.346, allocations: 11.47 kB / 1.412 GB, free: 3.164 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.346, allocations: 2 kB / 1.412 GB, free: 3.164 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.346, allocations: 9.828 kB / 1.412 GB, free: 3.156 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00677/1.353, allocations: 3.804 MB / 1.416 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/1.353, allocations: 2.312 kB / 1.416 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/1.353, allocations: 153.4 kB / 1.416 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004007/1.354, allocations: 141.4 kB / 1.416 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/1.354, allocations: 18.45 kB / 1.416 GB, free: 0.5781 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/1.354, allocations: 13 kB / 1.416 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.354, allocations: 2.5 kB / 1.416 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/1.356, allocations: 1.47 MB / 1.418 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/1.357, allocations: 275.4 kB / 1.418 GB, free: 15.38 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/1.357, allocations: 26.06 kB / 1.418 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/1.357, allocations: 66.69 kB / 1.418 GB, free: 15.33 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.358, allocations: 55.2 kB / 1.418 GB, free: 15.3 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/1.358, allocations: 28.16 kB / 1.418 GB, free: 15.29 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001233/1.359, allocations: 0.6971 MB / 1.419 GB, free: 14.89 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.359, allocations: 1.281 kB / 1.419 GB, free: 14.89 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001991/1.361, allocations: 382.6 kB / 1.419 GB, free: 14.86 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002502/1.361, allocations: 127 kB / 1.419 GB, free: 14.75 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00275/1.364, allocations: 1.661 MB / 1.421 GB, free: 13.7 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.364, allocations: 1.062 kB / 1.421 GB, free: 13.7 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.365, allocations: 0.8337 MB / 1.422 GB, free: 13.04 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.367, allocations: 266.1 kB / 1.422 GB, free: 12.89 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008301/1.375, allocations: 4.211 MB / 1.426 GB, free: 10.5 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/1.377, allocations: 1.964 MB / 1.428 GB, free: 9.172 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/1.378, allocations: 96.78 kB / 1.428 GB, free: 9.152 MB / 1.107 GB Notification: Performance of SimCode: time 1.322e-06/1.378, allocations: 0 / 1.428 GB, free: 9.152 MB / 1.107 GB Notification: Performance of Templates: time 0.08898/1.467, allocations: 73.52 MB / 1.5 GB, free: 280 kB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 16.196475781005574]