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.001451/0.001451, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001583/0.001583, allocations: 170.2 kB / 22.46 MB, free: 5.359 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.956/2.956, allocations: 389 MB / 0.633 GB, free: 0.9688 MB / 0.5919 GB " [Timeout remaining time 176] 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 6.472e-06/6.472e-06, allocations: 4 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/3.369e-05, allocations: 2.281 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.01159/0.01162, allocations: 4.613 MB / 1.005 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007562/0.01918, allocations: 2.409 MB / 1.007 GB, free: 228 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.01961, allocations: 39.56 kB / 1.007 GB, free: 188 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.02154, allocations: 401.8 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.0233, allocations: 489.1 kB / 1.008 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.02484, allocations: 406.7 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.02664, allocations: 0.9603 MB / 1.009 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007423/0.02738, allocations: 318.4 kB / 1.01 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.02843, allocations: 0.4908 MB / 1.01 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007722/0.0292, allocations: 307 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.02932, allocations: 40 kB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.03037, allocations: 363 kB / 1.011 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.03071, allocations: 195.3 kB / 1.011 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.03113, allocations: 207.5 kB / 1.011 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.03289, allocations: 0.9072 MB / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.0329, allocations: 0 / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.593e-06/0.0329, allocations: 4 kB / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.03291, allocations: 3.938 kB / 1.012 GB, free: 11.13 MB / 0.9669 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.002314/0.03522, allocations: 0.8857 MB / 1.013 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.03527, allocations: 15.92 kB / 1.013 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/0.03778, allocations: 216.2 kB / 1.013 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.0393, allocations: 488 kB / 1.013 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.03936, allocations: 33.36 kB / 1.014 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.03949, allocations: 40.38 kB / 1.014 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.04162, allocations: 0.9703 MB / 1.015 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.04166, allocations: 12.12 kB / 1.015 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/0.04176, allocations: 28.34 kB / 1.015 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/0.04196, allocations: 68.89 kB / 1.015 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.04354, allocations: 0.5656 MB / 1.015 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007797/0.05134, allocations: 4.623 MB / 1.02 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.05255, allocations: 422.8 kB / 1.02 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.05313, allocations: 197.3 kB / 1.02 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.05318, allocations: 15.92 kB / 1.02 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.05324, allocations: 30.56 kB / 1.02 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=32): time 4.638e-06/0.05324, allocations: 4 kB / 1.02 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.004322/0.05756, allocations: 1.128 MB / 1.021 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.05761, allocations: 59.67 kB / 1.021 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006172/0.05823, allocations: 478.6 kB / 1.022 GB, free: 436 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.05827, allocations: 29.7 kB / 1.022 GB, free: 400 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.05865, allocations: 372.3 kB / 1.022 GB, free: 20 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.05882, allocations: 126.9 kB / 1.022 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.05903, allocations: 110.2 kB / 1.023 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.05925, allocations: 362.7 kB / 1.023 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.05963, allocations: 197.2 kB / 1.023 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.06025, allocations: 447.3 kB / 1.024 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.06137, allocations: 0.6882 MB / 1.024 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.06138, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001671/0.06306, allocations: 0.8175 MB / 1.025 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.06309, allocations: 12 kB / 1.025 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.06312, allocations: 8 kB / 1.025 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006625/0.06378, allocations: 144.2 kB / 1.025 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.06431, allocations: 131.7 kB / 1.025 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/0.06804, allocations: 3.961 MB / 1.029 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.06843, allocations: 35.97 kB / 1.029 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.06848, allocations: 28 kB / 1.029 GB, free: 8.395 MB / 0.9825 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.000298/0.06878, allocations: 217.7 kB / 1.029 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.06889, allocations: 59.62 kB / 1.029 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.07, allocations: 0.5926 MB / 1.03 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.07, allocations: 8 kB / 1.03 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.07001, allocations: 7.875 kB / 1.03 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.07002, allocations: 4 kB / 1.03 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.07189, allocations: 1.109 MB / 1.031 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.07189, allocations: 8.203 kB / 1.031 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.07217, allocations: 59.89 kB / 1.031 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/0.07261, allocations: 140.1 kB / 1.031 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.07264, allocations: 4 kB / 1.031 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003592/0.07623, allocations: 3.958 MB / 1.035 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.07624, allocations: 0 / 1.035 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.07737, allocations: 0.7045 MB / 1.036 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.07759, allocations: 83.62 kB / 1.036 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.07767, allocations: 12 kB / 1.036 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.07795, allocations: 23.97 kB / 1.036 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.07804, allocations: 35.83 kB / 1.036 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.07806, allocations: 8 kB / 1.036 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003773/0.07844, allocations: 310.9 kB / 1.036 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.07844, allocations: 0 / 1.036 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006755/0.07911, allocations: 144.1 kB / 1.036 GB, free: 456 kB / 0.9825 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.0001683/0.07928, allocations: 118.8 kB / 1.037 GB, free: 328 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.08081, allocations: 0.8507 MB / 1.037 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.08081, allocations: 0 / 1.037 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.08171, allocations: 0.5721 MB / 1.038 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.08275, allocations: 200.4 kB / 1.038 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.08463, allocations: 1.041 MB / 1.039 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.08498, allocations: 315.9 kB / 1.039 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003529/0.08533, allocations: 117.1 kB / 1.04 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.08544, allocations: 36.5 kB / 1.04 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.08545, allocations: 4 kB / 1.04 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of Templates: time 0.01622/0.1017, allocations: 7.756 MB / 1.047 GB, free: 5.477 MB / 0.9981 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.363804657012224]