Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.002517/0.002517, allocations: 85.48 kB / 19.44 MB, free: 344 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.003116/0.003116, allocations: 173.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.534/1.534, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.358/3.358, allocations: 429.5 MB / 0.6729 GB, free: 4 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.723e-05/3.909e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.02426/0.0243, allocations: 10.07 MB / 0.8873 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009925/0.03422, allocations: 3.225 MB / 0.8905 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000927/0.03515, allocations: 47.69 kB / 0.8905 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.03797, allocations: 0.6161 MB / 0.8911 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.04082, allocations: 0.7943 MB / 0.8919 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.04303, allocations: 0.7534 MB / 0.8926 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00411/0.04714, allocations: 3.046 MB / 0.8956 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.04977, allocations: 1.423 MB / 0.897 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.05296, allocations: 1.742 MB / 0.8987 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.05602, allocations: 1.61 MB / 0.9003 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006195/0.05664, allocations: 236 kB / 0.9005 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.05783, allocations: 495.2 kB / 0.9009 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.05923, allocations: 1.162 MB / 0.9021 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.06049, allocations: 0.7952 MB / 0.9029 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.004772/0.06526, allocations: 3.806 MB / 0.9066 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.06527, allocations: 0 / 0.9066 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.06527, allocations: 0 / 0.9066 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.447e-05/0.06534, allocations: 0 / 0.9066 GB, free: 8.719 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005299/0.07063, allocations: 2.443 MB / 0.909 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.07068, allocations: 12.03 kB / 0.909 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009897/0.08057, allocations: 1.669 MB / 0.9106 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003526/0.0841, allocations: 1.182 MB / 0.9118 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.08425, allocations: 115.4 kB / 0.9119 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005908/0.08484, allocations: 148.3 kB / 0.912 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005307/0.09015, allocations: 2.026 MB / 0.914 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-05/0.0902, allocations: 12.11 kB / 0.914 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/0.09049, allocations: 68.33 kB / 0.9141 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004212/0.09091, allocations: 207.1 kB / 0.9143 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003519/0.09443, allocations: 1.07 MB / 0.9153 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02/0.1144, allocations: 10.66 MB / 0.9257 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.1162, allocations: 0.6783 MB / 0.9264 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.1175, allocations: 0.4906 MB / 0.9269 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.1176, allocations: 20.94 kB / 0.9269 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.1176, allocations: 42.39 kB / 0.9269 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 3.377e-06/0.1176, allocations: 0 / 0.9269 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183): time 0.03946/0.1571, allocations: 9.775 MB / 0.9365 GB, free: 9.539 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.1572, allocations: 73.41 kB / 0.9365 GB, free: 9.457 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.159, allocations: 1.116 MB / 0.9376 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002492/0.1592, allocations: 57.69 kB / 0.9377 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008352/0.1601, allocations: 0.9057 MB / 0.9386 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009173/0.161, allocations: 0.7211 MB / 0.9393 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.162, allocations: 409.1 kB / 0.9397 GB, free: 6.211 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.1622, allocations: 480.7 kB / 0.9401 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.1638, allocations: 0.5622 MB / 0.9407 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.166, allocations: 1.134 MB / 0.9418 GB, free: 3.875 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004167/0.1701, allocations: 1.928 MB / 0.9437 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.1701, allocations: 0 / 0.9437 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01906/0.1892, allocations: 5.055 MB / 0.9486 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.1892, allocations: 12.64 kB / 0.9486 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.1893, allocations: 16 kB / 0.9486 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01886/0.2081, allocations: 3.716 MB / 0.9522 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000958/0.2091, allocations: 199.6 kB / 0.9524 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04968/0.2588, allocations: 20.75 MB / 0.9727 GB, free: 3.496 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.2609, allocations: 103.9 kB / 0.9728 GB, free: 3.395 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003535/0.2612, allocations: 68 kB / 0.9729 GB, free: 3.328 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009713/0.2622, allocations: 300.2 kB / 0.9732 GB, free: 3.023 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/0.2628, allocations: 203.1 kB / 0.9733 GB, free: 2.824 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01912/0.2819, allocations: 4.955 MB / 0.9782 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.2819, allocations: 24 kB / 0.9782 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-05/0.282, allocations: 28 kB / 0.9782 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/0.282, allocations: 15.94 kB / 0.9782 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/0.3081, allocations: 7.9 MB / 0.986 GB, free: 5.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.3081, allocations: 4 kB / 0.986 GB, free: 5.727 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.3086, allocations: 119.8 kB / 0.9861 GB, free: 5.609 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01837/0.327, allocations: 3.595 MB / 0.9896 GB, free: 1.996 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002689/0.3272, allocations: 32 kB / 0.9896 GB, free: 1.965 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04628/0.3735, allocations: 19.11 MB / 1.008 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.3735, allocations: 4 kB / 1.008 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01863/0.3922, allocations: 4.949 MB / 1.013 GB, free: 9.289 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/0.3942, allocations: 0.5028 MB / 1.014 GB, free: 8.785 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004646/0.3947, allocations: 39.94 kB / 1.014 GB, free: 8.746 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.3962, allocations: 87.88 kB / 1.014 GB, free: 8.66 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009769/0.3972, allocations: 177.5 kB / 1.014 GB, free: 8.488 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/0.3974, allocations: 48 kB / 1.014 GB, free: 8.441 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001226/0.3986, allocations: 0.6633 MB / 1.015 GB, free: 7.766 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.3986, allocations: 0 / 1.015 GB, free: 7.766 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003621/0.4023, allocations: 1.008 MB / 1.016 GB, free: 6.758 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003764/0.4026, allocations: 147 kB / 1.016 GB, free: 6.605 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.008842/0.4115, allocations: 3.525 MB / 1.019 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.4115, allocations: 4 kB / 1.019 GB, free: 3.004 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.008207/0.4197, allocations: 2.893 MB / 1.022 GB, free: 36 kB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.4216, allocations: 237.1 kB / 1.022 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009158/0.4308, allocations: 4.138 MB / 1.026 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/0.4329, allocations: 1.127 MB / 1.027 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008986/0.4338, allocations: 283.2 kB / 1.028 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.434, allocations: 60.48 kB / 1.028 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of SimCode: time 1.784e-06/0.434, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of Templates: time 0.4327/0.8667, allocations: 65.63 MB / 1.092 GB, free: 189.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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: 10.183674597064964]