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.002412/0.002412, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002064/0.002064, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 3.363/3.363, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.843e-06/1.843e-06, allocations: 0.875 kB / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.42e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007533/0.007567, allocations: 4.875 MB / 0.8822 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004658/0.01223, allocations: 2.516 MB / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.01248, allocations: 39.62 kB / 0.8847 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.01375, allocations: 413.8 kB / 0.8851 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.01498, allocations: 489 kB / 0.8856 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008599/0.01584, allocations: 403 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.01698, allocations: 0.9525 MB / 0.8869 GB, free: 13 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000519/0.0175, allocations: 326.3 kB / 0.8872 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000705/0.0182, allocations: 490.7 kB / 0.8876 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.01871, allocations: 315 kB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.01879, allocations: 40 kB / 0.888 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006313/0.01942, allocations: 363 kB / 0.8883 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.01965, allocations: 195.3 kB / 0.8885 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.01994, allocations: 219.4 kB / 0.8887 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.02113, allocations: 0.9072 MB / 0.8896 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.02113, allocations: 0 / 0.8896 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.342e-06/0.02114, allocations: 3.938 kB / 0.8896 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.02115, allocations: 0 / 0.8896 GB, free: 10.17 MB / 0.8542 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.001624/0.02277, allocations: 1.028 MB / 0.8906 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.0228, allocations: 8.031 kB / 0.8906 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.02418, allocations: 276 kB / 0.8909 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009848/0.02516, allocations: 0.5223 MB / 0.8914 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.02521, allocations: 37.36 kB / 0.8914 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.615e-05/0.02529, allocations: 48.36 kB / 0.8915 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.02673, allocations: 0.9003 MB / 0.8924 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.02675, allocations: 12.12 kB / 0.8924 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.02681, allocations: 20.38 kB / 0.8924 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.02692, allocations: 68.89 kB / 0.8925 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.0276, allocations: 347.3 kB / 0.8928 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005817/0.03342, allocations: 6.417 MB / 0.8991 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.03393, allocations: 247 kB / 0.8993 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.03435, allocations: 99.59 kB / 0.8994 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.03439, allocations: 11.98 kB / 0.8994 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.03442, allocations: 41.38 kB / 0.8994 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.03443, allocations: 0 / 0.8994 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.002186/0.03661, allocations: 0.7454 MB / 0.9002 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.03666, allocations: 55.69 kB / 0.9002 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.03735, allocations: 0.5922 MB / 0.9008 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.03738, allocations: 29.7 kB / 0.9008 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.03773, allocations: 427 kB / 0.9012 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.03786, allocations: 134.9 kB / 0.9014 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.03805, allocations: 127.8 kB / 0.9015 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003279/0.03838, allocations: 0.5625 MB / 0.902 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.0386, allocations: 109.2 kB / 0.9021 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.03918, allocations: 478.8 kB / 0.9026 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008694/0.04005, allocations: 0.629 MB / 0.9032 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.04005, allocations: 4 kB / 0.9032 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001259/0.04131, allocations: 0.6605 MB / 0.9039 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.04133, allocations: 10.34 kB / 0.9039 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.04135, allocations: 12.12 kB / 0.9039 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/0.04189, allocations: 142.3 kB / 0.904 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.04237, allocations: 123.8 kB / 0.9041 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00486/0.04723, allocations: 5.322 MB / 0.9093 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.04761, allocations: 35.97 kB / 0.9094 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.04767, allocations: 28 kB / 0.9094 GB, free: 4.555 MB / 0.8698 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.0002797/0.04795, allocations: 216.4 kB / 0.9096 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.04807, allocations: 71.72 kB / 0.9097 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009664/0.04904, allocations: 401.1 kB / 0.91 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.04904, allocations: 4 kB / 0.9101 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.04905, allocations: 7.938 kB / 0.9101 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.04906, allocations: 3.984 kB / 0.9101 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.05091, allocations: 1.002 MB / 0.911 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.05092, allocations: 0 / 0.911 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.0512, allocations: 60.11 kB / 0.9111 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.05167, allocations: 130.3 kB / 0.9112 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.0517, allocations: 8 kB / 0.9112 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004735/0.05643, allocations: 5.307 MB / 0.9164 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.05644, allocations: 0 / 0.9164 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.05745, allocations: 0.5985 MB / 0.917 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.05771, allocations: 83.59 kB / 0.9171 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.05777, allocations: 11.98 kB / 0.9171 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.05803, allocations: 15.98 kB / 0.9171 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.05811, allocations: 43.75 kB / 0.9171 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.05814, allocations: 16.09 kB / 0.9172 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000453/0.0586, allocations: 366.8 kB / 0.9175 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.0586, allocations: 0 / 0.9175 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006531/0.05925, allocations: 144 kB / 0.9176 GB, free: 11.51 MB / 0.8855 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.0001546/0.0594, allocations: 107.2 kB / 0.9177 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.06085, allocations: 0.8942 MB / 0.9186 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.06086, allocations: 0 / 0.9186 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009133/0.06177, allocations: 0.6685 MB / 0.9193 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.06278, allocations: 200.7 kB / 0.9195 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.06469, allocations: 1.003 MB / 0.9204 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.06505, allocations: 307.9 kB / 0.9207 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002801/0.06533, allocations: 97.06 kB / 0.9208 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.06544, allocations: 44.5 kB / 0.9209 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of SimCode: time 8.22e-07/0.06544, allocations: 3.938 kB / 0.9209 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of Templates: time 0.01597/0.0814, allocations: 7.852 MB / 0.9285 GB, free: 328 kB / 0.8855 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] 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.633709904970601]