Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0007879/0.0007879, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 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.0008039/0.0008039, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8957/0.8957, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.757/1.757, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.184e-05, allocations: 4.953 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01857/0.01859, allocations: 25.06 MB / 1.005 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.02907, allocations: 7.985 MB / 1.013 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.03112, allocations: 154.8 kB / 1.013 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.03505, allocations: 2.788 MB / 1.016 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.03869, allocations: 1.713 MB / 1.018 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.04205, allocations: 1.688 MB / 1.019 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.005868/0.04792, allocations: 6.266 MB / 1.026 GB, free: 4.773 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004879/0.0528, allocations: 3.765 MB / 1.029 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005748/0.05854, allocations: 3.726 MB / 1.033 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.06224, allocations: 2.638 MB / 1.035 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.06347, allocations: 0.5078 MB / 1.036 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.06602, allocations: 1.216 MB / 1.037 GB, free: 8.809 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00257/0.06859, allocations: 2.19 MB / 1.039 GB, free: 6.613 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002921/0.07151, allocations: 1.665 MB / 1.041 GB, free: 4.945 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.4197/0.4912, allocations: 8.21 MB / 1.049 GB, free: 62.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4912, allocations: 0 / 1.049 GB, free: 62.46 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4912, allocations: 1.312 kB / 1.049 GB, free: 62.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002399/0.4914, allocations: 0 / 1.049 GB, free: 62.46 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008202/0.4996, allocations: 4.214 MB / 1.053 GB, free: 60.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.4997, allocations: 10.09 kB / 1.053 GB, free: 60.93 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001414/0.5011, allocations: 0.5392 MB / 1.054 GB, free: 60.87 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.5041, allocations: 0.83 MB / 1.054 GB, free: 60.63 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.5082, allocations: 2.536 MB / 1.057 GB, free: 60.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.5083, allocations: 270.7 kB / 1.057 GB, free: 60.06 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/0.5095, allocations: 374.6 kB / 1.057 GB, free: 60.05 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009242/0.5187, allocations: 6.446 MB / 1.064 GB, free: 58.74 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.5188, allocations: 20.86 kB / 1.064 GB, free: 58.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006877/0.5195, allocations: 155 kB / 1.064 GB, free: 58.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003414/0.5199, allocations: 290.4 kB / 1.064 GB, free: 58.72 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006213/0.5261, allocations: 4.507 MB / 1.069 GB, free: 58.69 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01815/0.5442, allocations: 17.98 MB / 1.086 GB, free: 47.21 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.5455, allocations: 1.049 MB / 1.087 GB, free: 46.82 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009849/0.5465, allocations: 0.96 MB / 1.088 GB, free: 46.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-05/0.5466, allocations: 12.22 kB / 1.088 GB, free: 46.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.5466, allocations: 45.5 kB / 1.088 GB, free: 46.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.717e-06/0.5466, allocations: 0.8438 kB / 1.088 GB, free: 46.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=131): time 0.01401/0.5606, allocations: 9.092 MB / 1.097 GB, free: 42.85 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.5607, allocations: 65.5 kB / 1.097 GB, free: 42.79 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.5625, allocations: 1.532 MB / 1.099 GB, free: 42.19 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.5626, allocations: 51.55 kB / 1.099 GB, free: 42.14 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/0.5634, allocations: 1.707 MB / 1.1 GB, free: 40.83 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.5637, allocations: 484.1 kB / 1.101 GB, free: 40.46 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.5641, allocations: 330.3 kB / 1.101 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.552e-05/0.5641, allocations: 302.7 kB / 1.101 GB, free: 40 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.5652, allocations: 0.9155 MB / 1.102 GB, free: 39.66 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.5663, allocations: 1.463 MB / 1.104 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.5686, allocations: 2.545 MB / 1.106 GB, free: 37.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.5686, allocations: 5.5 kB / 1.106 GB, free: 37.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004164/0.5728, allocations: 3.276 MB / 1.109 GB, free: 35.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.5728, allocations: 12.34 kB / 1.109 GB, free: 35.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.5728, allocations: 17.72 kB / 1.109 GB, free: 35.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.5742, allocations: 0.745 MB / 1.11 GB, free: 35.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5753, allocations: 386.9 kB / 1.111 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00886/0.5842, allocations: 16 MB / 1.126 GB, free: 22.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.5855, allocations: 104.2 kB / 1.126 GB, free: 22.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.5857, allocations: 85.28 kB / 1.126 GB, free: 22.25 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001902/0.5876, allocations: 1.306 MB / 1.128 GB, free: 21.67 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.588, allocations: 213.2 kB / 1.128 GB, free: 21.56 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/0.5914, allocations: 2.761 MB / 1.131 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5914, allocations: 13.44 kB / 1.131 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/0.5914, allocations: 10.34 kB / 1.131 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.5914, allocations: 7.891 kB / 1.131 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008834/0.6002, allocations: 5.89 MB / 1.136 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.6003, allocations: 6.25 kB / 1.136 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.601, allocations: 234.9 kB / 1.137 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/0.6022, allocations: 0.6643 MB / 1.137 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.6024, allocations: 31.38 kB / 1.137 GB, free: 17.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008904/0.6113, allocations: 15.76 MB / 1.153 GB, free: 4.473 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6113, allocations: 9.875 kB / 1.153 GB, free: 4.473 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/0.6162, allocations: 3.98 MB / 1.157 GB, free: 2.648 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.6173, allocations: 388.6 kB / 1.157 GB, free: 2.438 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.6177, allocations: 37.33 kB / 1.157 GB, free: 2.418 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/0.6183, allocations: 81.03 kB / 1.157 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003235/0.6186, allocations: 121.5 kB / 1.157 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.6187, allocations: 38.64 kB / 1.157 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001286/0.62, allocations: 0.9961 MB / 1.158 GB, free: 1.996 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.21e-07/0.62, allocations: 0 / 1.158 GB, free: 1.996 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002534/0.6225, allocations: 0.6846 MB / 1.159 GB, free: 1.941 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005039/0.6276, allocations: 4.681 MB / 1.163 GB, free: 15.94 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00398/0.6315, allocations: 3.372 MB / 1.167 GB, free: 14.16 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.6315, allocations: 6.781 kB / 1.167 GB, free: 14.16 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.6335, allocations: 2.24 MB / 1.169 GB, free: 12.71 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.6357, allocations: 0.6781 MB / 1.17 GB, free: 12.47 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/0.6623, allocations: 21.2 MB / 1.19 GB, free: 2.199 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/0.6648, allocations: 2.108 MB / 1.192 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001185/0.666, allocations: 489.4 kB / 1.193 GB, free: 220 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/0.6676, allocations: 1.283 MB / 1.194 GB, free: 14.95 MB / 1.026 GB Notification: Performance of SimCode: time 1.643e-06/0.6676, allocations: 2.078 kB / 1.194 GB, free: 14.95 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09213/0.7597, allocations: 61.45 MB / 1.254 GB, free: 2.688 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/9.104, allocations: 9.531 kB / 1.254 GB, free: 2.684 MB / 1.073 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: 13.344425800256431]