Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0007959/0.0007959, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009037/0.0009037, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8714/0.8714, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.765/1.765, allocations: 389 MB / 0.633 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.523e-05, allocations: 8.75 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02233/0.02234, allocations: 32.98 MB / 1.032 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.03375, allocations: 9.87 MB / 1.042 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.03539, allocations: 194.6 kB / 1.042 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.4258/0.4612, allocations: 3.839 MB / 1.045 GB, free: 51.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004364/0.4656, allocations: 2.201 MB / 1.048 GB, free: 51.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.4685, allocations: 1.987 MB / 1.05 GB, free: 51.18 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00453/0.4731, allocations: 8.129 MB / 1.057 GB, free: 49.92 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003695/0.4768, allocations: 5.25 MB / 1.063 GB, free: 48.79 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.4798, allocations: 4.893 MB / 1.067 GB, free: 46.73 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.482, allocations: 3.452 MB / 1.071 GB, free: 45.91 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004458/0.4824, allocations: 0.6792 MB / 1.071 GB, free: 45.91 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.4838, allocations: 1.383 MB / 1.073 GB, free: 45.76 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.4853, allocations: 2.803 MB / 1.076 GB, free: 44.57 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.4868, allocations: 2.168 MB / 1.078 GB, free: 43.62 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.007612/0.4944, allocations: 10.57 MB / 1.088 GB, free: 40.61 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4944, allocations: 1.344 kB / 1.088 GB, free: 40.61 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4944, allocations: 0 / 1.088 GB, free: 40.61 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002244/0.4947, allocations: 3.938 kB / 1.088 GB, free: 40.61 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.008216/0.5029, allocations: 5.404 MB / 1.093 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5029, allocations: 10.53 kB / 1.093 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007026/0.5036, allocations: 0.7078 MB / 1.094 GB, free: 37.29 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.5062, allocations: 0.9955 MB / 1.095 GB, free: 36.97 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/0.51, allocations: 3.129 MB / 1.098 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.5101, allocations: 359.2 kB / 1.098 GB, free: 35.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005154/0.5107, allocations: 472.2 kB / 1.099 GB, free: 35.25 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008622/0.5193, allocations: 8.665 MB / 1.107 GB, free: 30.93 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.057e-05/0.5194, allocations: 18.81 kB / 1.107 GB, free: 30.93 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.5197, allocations: 208.7 kB / 1.107 GB, free: 30.79 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003777/0.5201, allocations: 373 kB / 1.108 GB, free: 30.73 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006792/0.5269, allocations: 5.93 MB / 1.114 GB, free: 28.73 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.5459, allocations: 23.71 MB / 1.137 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.5484, allocations: 1.997 MB / 1.139 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.5496, allocations: 1.333 MB / 1.14 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.948e-05/0.5497, allocations: 16.12 kB / 1.14 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.5497, allocations: 53.41 kB / 1.14 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=157): time 2.685e-06/0.5497, allocations: 0 / 1.14 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=160): time 0.009913/0.5597, allocations: 6.668 MB / 1.147 GB, free: 8.746 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.5597, allocations: 73.47 kB / 1.147 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.5621, allocations: 1.907 MB / 1.149 GB, free: 7.906 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002702/0.5623, allocations: 53.05 kB / 1.149 GB, free: 7.855 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009758/0.5633, allocations: 2.188 MB / 1.151 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/0.5638, allocations: 0.5687 MB / 1.151 GB, free: 5.738 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/0.5642, allocations: 406.8 kB / 1.152 GB, free: 5.531 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.609e-05/0.5642, allocations: 305.2 kB / 1.152 GB, free: 5.234 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.5654, allocations: 1.058 MB / 1.153 GB, free: 4.691 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.5666, allocations: 1.762 MB / 1.155 GB, free: 3.242 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.569, allocations: 3.051 MB / 1.158 GB, free: 1.152 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/0.569, allocations: 6.469 kB / 1.158 GB, free: 1.152 MB / 0.9948 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004121/0.5732, allocations: 3.904 MB / 1.161 GB, free: 15.19 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.5732, allocations: 16.84 kB / 1.162 GB, free: 15.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.5732, allocations: 23.28 kB / 1.162 GB, free: 15.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.5746, allocations: 0.9295 MB / 1.162 GB, free: 14.69 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.5754, allocations: 431.9 kB / 1.163 GB, free: 14.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.5887, allocations: 21.36 MB / 1.184 GB, free: 11.57 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.5906, allocations: 126.5 kB / 1.184 GB, free: 11.51 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.5908, allocations: 98.98 kB / 1.184 GB, free: 11.48 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.002763/0.5936, allocations: 1.647 MB / 1.186 GB, free: 10.49 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/0.594, allocations: 270.6 kB / 1.186 GB, free: 10.36 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/0.5977, allocations: 3.234 MB / 1.189 GB, free: 7.285 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.5978, allocations: 16 kB / 1.189 GB, free: 7.27 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.5978, allocations: 12 kB / 1.189 GB, free: 7.258 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5978, allocations: 7.969 kB / 1.189 GB, free: 7.25 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009856/0.6076, allocations: 7.172 MB / 1.196 GB, free: 24 kB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.6076, allocations: 4 kB / 1.196 GB, free: 20 kB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.6082, allocations: 214.1 kB / 1.196 GB, free: 15.82 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.6096, allocations: 0.8895 MB / 1.197 GB, free: 14.9 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.6097, allocations: 32 kB / 1.197 GB, free: 14.87 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/0.6235, allocations: 21.33 MB / 1.218 GB, free: 8.281 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6235, allocations: 4 kB / 1.218 GB, free: 8.277 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/0.6285, allocations: 3.357 MB / 1.221 GB, free: 4.848 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009065/0.6294, allocations: 478.2 kB / 1.222 GB, free: 4.379 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.6296, allocations: 35.98 kB / 1.222 GB, free: 4.344 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/0.6303, allocations: 88.08 kB / 1.222 GB, free: 4.258 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/0.6305, allocations: 151.3 kB / 1.222 GB, free: 4.117 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.6306, allocations: 52 kB / 1.222 GB, free: 4.066 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001206/0.6318, allocations: 1.232 MB / 1.223 GB, free: 2.82 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.6318, allocations: 0 / 1.223 GB, free: 2.82 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002381/0.6342, allocations: 0.9023 MB / 1.224 GB, free: 1.918 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003729/0.6379, allocations: 3.961 MB / 1.228 GB, free: 13.86 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.003958/0.6419, allocations: 4.292 MB / 1.232 GB, free: 9.469 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6419, allocations: 4 kB / 1.232 GB, free: 9.465 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/0.6444, allocations: 2.893 MB / 1.235 GB, free: 6.418 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.6463, allocations: 0.8289 MB / 1.236 GB, free: 5.613 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03064/0.6769, allocations: 25.28 MB / 1.26 GB, free: 11.24 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003451/0.6804, allocations: 2.673 MB / 1.263 GB, free: 8.535 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.001355/0.6817, allocations: 0.5332 MB / 1.264 GB, free: 7.996 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/0.6836, allocations: 1.648 MB / 1.265 GB, free: 6.348 MB / 1.104 GB Notification: Performance of SimCode: time 1.243e-06/0.6836, allocations: 0 / 1.265 GB, free: 6.348 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09321/0.7768, allocations: 74.91 MB / 1.338 GB, free: 12.73 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.106/9.883, allocations: 0 / 1.338 GB, free: 12.73 MB / 1.182 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 14.221157498657703]