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.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.001139/0.001139, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001193/0.001193, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.892/0.892, allocations: 177.1 MB / 203.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.788/1.788, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.444e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003846/0.003861, allocations: 4.612 MB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.006051, allocations: 2.412 MB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.00622, allocations: 39.56 kB / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006574/0.006878, allocations: 401.8 kB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.007363, allocations: 493.1 kB / 1.009 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.007751, allocations: 405.5 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007035/0.008454, allocations: 0.9603 MB / 1.01 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.00879, allocations: 318.4 kB / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.009164, allocations: 494.6 kB / 1.011 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.00944, allocations: 311 kB / 1.011 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.009481, allocations: 40 kB / 1.011 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.009769, allocations: 367 kB / 1.011 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.009887, allocations: 187.4 kB / 1.012 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.01002, allocations: 215.4 kB / 1.012 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.01062, allocations: 0.9111 MB / 1.013 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01062, allocations: 0 / 1.013 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.31e-07/0.01062, allocations: 0 / 1.013 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.01063, allocations: 0 / 1.013 GB, free: 0.8555 MB / 0.9636 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.0008166/0.01145, allocations: 0.8934 MB / 1.014 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.01148, allocations: 8.031 kB / 1.014 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000635/0.01211, allocations: 212.2 kB / 1.014 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.01261, allocations: 484 kB / 1.014 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.01263, allocations: 33.38 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.01268, allocations: 48.36 kB / 1.014 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.01337, allocations: 0.9703 MB / 1.015 GB, free: 14 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.01339, allocations: 8.125 kB / 1.015 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.01342, allocations: 28.36 kB / 1.015 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.593e-05/0.01348, allocations: 64.89 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.014, allocations: 0.5656 MB / 1.016 GB, free: 13.33 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.01637, allocations: 4.623 MB / 1.02 GB, free: 8.531 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.01676, allocations: 426.2 kB / 1.021 GB, free: 8.105 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.01695, allocations: 197.3 kB / 1.021 GB, free: 7.91 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.01697, allocations: 11.98 kB / 1.021 GB, free: 7.898 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.01699, allocations: 34.56 kB / 1.021 GB, free: 7.855 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=32): time 1.342e-06/0.01699, allocations: 7.875 kB / 1.021 GB, free: 7.848 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001369/0.01835, allocations: 1.125 MB / 1.022 GB, free: 6.699 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.01838, allocations: 55.69 kB / 1.022 GB, free: 6.633 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.01868, allocations: 482.6 kB / 1.023 GB, free: 6.152 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.01869, allocations: 29.7 kB / 1.023 GB, free: 6.117 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.01884, allocations: 368.3 kB / 1.023 GB, free: 5.75 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.0189, allocations: 126.9 kB / 1.023 GB, free: 5.625 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.01899, allocations: 114.2 kB / 1.023 GB, free: 5.508 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.01908, allocations: 362.7 kB / 1.024 GB, free: 5.145 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.01926, allocations: 197.2 kB / 1.024 GB, free: 4.949 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.01967, allocations: 444.9 kB / 1.024 GB, free: 4.402 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005102/0.02018, allocations: 0.6926 MB / 1.025 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.02018, allocations: 0 / 1.025 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007369/0.02092, allocations: 0.8093 MB / 1.026 GB, free: 2.762 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.02093, allocations: 12 kB / 1.026 GB, free: 2.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.02094, allocations: 11.98 kB / 1.026 GB, free: 2.738 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.02121, allocations: 148.8 kB / 1.026 GB, free: 2.578 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.02144, allocations: 123.8 kB / 1.026 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.02323, allocations: 3.974 MB / 1.03 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.0234, allocations: 35.97 kB / 1.03 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.02342, allocations: 28 kB / 1.03 GB, free: 14.11 MB / 0.9948 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.0001531/0.02358, allocations: 213.8 kB / 1.03 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.02362, allocations: 63.61 kB / 1.03 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/0.02435, allocations: 0.5887 MB / 1.031 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.02435, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.02435, allocations: 3.938 kB / 1.031 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.02436, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000989/0.02534, allocations: 1.121 MB / 1.032 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.02535, allocations: 4 kB / 1.032 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.02547, allocations: 55.89 kB / 1.032 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/0.02567, allocations: 140.1 kB / 1.032 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.02569, allocations: 8 kB / 1.032 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.02731, allocations: 3.962 MB / 1.036 GB, free: 7.531 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.02731, allocations: 3.938 kB / 1.036 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.02788, allocations: 0.7006 MB / 1.037 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.02798, allocations: 79.64 kB / 1.037 GB, free: 6.695 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.02801, allocations: 15.98 kB / 1.037 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.02814, allocations: 23.97 kB / 1.037 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.02818, allocations: 39.98 kB / 1.037 GB, free: 6.617 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.02819, allocations: 8 kB / 1.037 GB, free: 6.609 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001866/0.02837, allocations: 310.9 kB / 1.037 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.02837, allocations: 0 / 1.037 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003415/0.02872, allocations: 143.9 kB / 1.037 GB, free: 6.168 MB / 0.9948 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 8.595e-05/0.0288, allocations: 117.5 kB / 1.037 GB, free: 6.043 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008749/0.02968, allocations: 0.8546 MB / 1.038 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02968, allocations: 0 / 1.038 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.03005, allocations: 0.5717 MB / 1.039 GB, free: 4.527 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.03056, allocations: 190.7 kB / 1.039 GB, free: 4.352 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.03153, allocations: 1.09 MB / 1.04 GB, free: 3.203 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.0317, allocations: 311.9 kB / 1.04 GB, free: 2.871 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.03178, allocations: 48.48 kB / 1.04 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of SimCode: time 5.01e-07/0.03178, allocations: 0 / 1.04 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of Templates: time 0.01157/0.04335, allocations: 18.41 MB / 1.058 GB, free: 464 kB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.66721872612834]