Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0007627/0.0007627, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008287/0.0008287, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8857/0.8857, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.754/1.754, allocations: 389 MB / 0.633 GB, free: 12.7 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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.199e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02363/0.02364, allocations: 35.67 MB / 1.035 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4446/0.4683, allocations: 10.93 MB / 1.045 GB, free: 51.27 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.4708, allocations: 205.2 kB / 1.045 GB, free: 51.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003937/0.4747, allocations: 4.399 MB / 1.05 GB, free: 51.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.4776, allocations: 2.397 MB / 1.052 GB, free: 50.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.4802, allocations: 2.185 MB / 1.054 GB, free: 50.69 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004627/0.4848, allocations: 9.47 MB / 1.063 GB, free: 48.75 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004485/0.4893, allocations: 6.357 MB / 1.07 GB, free: 45.87 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/0.4932, allocations: 5.774 MB / 1.075 GB, free: 43.43 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/0.4963, allocations: 4.188 MB / 1.079 GB, free: 42.44 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000755/0.4971, allocations: 0.8219 MB / 1.08 GB, free: 42.44 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.4989, allocations: 1.519 MB / 1.082 GB, free: 42.3 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001781/0.5007, allocations: 3.372 MB / 1.085 GB, free: 40.86 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.5028, allocations: 2.567 MB / 1.087 GB, free: 39.73 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.513, allocations: 12.56 MB / 1.1 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.513, allocations: 1.062 kB / 1.1 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.893e-06/0.513, allocations: 0 / 1.1 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002365/0.5132, allocations: 0.6562 kB / 1.1 GB, free: 36.16 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.009342/0.5226, allocations: 6.338 MB / 1.106 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5226, allocations: 10.94 kB / 1.106 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008141/0.5234, allocations: 0.8229 MB / 1.107 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/0.5262, allocations: 1.115 MB / 1.108 GB, free: 31.99 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004172/0.5304, allocations: 3.568 MB / 1.111 GB, free: 30.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.5306, allocations: 420.2 kB / 1.112 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006135/0.5312, allocations: 0.5457 MB / 1.112 GB, free: 30.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.542, allocations: 10.29 MB / 1.122 GB, free: 25.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.493e-05/0.5421, allocations: 18.44 kB / 1.122 GB, free: 25.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004366/0.5425, allocations: 256.2 kB / 1.123 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000435/0.543, allocations: 425.8 kB / 1.123 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007934/0.5509, allocations: 7.116 MB / 1.13 GB, free: 22.44 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01974/0.5707, allocations: 26.23 MB / 1.155 GB, free: 3.508 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.5734, allocations: 2.904 MB / 1.158 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.5752, allocations: 1.939 MB / 1.16 GB, free: 1.008 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.22e-05/0.5753, allocations: 23.12 kB / 1.16 GB, free: 1.008 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.5753, allocations: 59.53 kB / 1.16 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=209): time 3.667e-06/0.5753, allocations: 0 / 1.16 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.01402/0.5894, allocations: 10.28 MB / 1.17 GB, free: 11.29 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.5894, allocations: 74.44 kB / 1.17 GB, free: 11.23 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.5917, allocations: 2.052 MB / 1.172 GB, free: 10.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003594/0.592, allocations: 63.55 kB / 1.172 GB, free: 10.04 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.5932, allocations: 2.467 MB / 1.175 GB, free: 7.875 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007065/0.5939, allocations: 0.753 MB / 1.176 GB, free: 7.227 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005816/0.5945, allocations: 477.3 kB / 1.176 GB, free: 6.891 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.5946, allocations: 309.1 kB / 1.176 GB, free: 6.586 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.5961, allocations: 1.376 MB / 1.178 GB, free: 5.207 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.598, allocations: 2.104 MB / 1.18 GB, free: 2.785 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003599/0.6016, allocations: 3.763 MB / 1.183 GB, free: 14.72 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/0.6016, allocations: 8 kB / 1.183 GB, free: 14.71 MB / 1.026 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006247/0.6078, allocations: 5.027 MB / 1.188 GB, free: 9.66 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.6079, allocations: 19.94 kB / 1.188 GB, free: 9.641 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.6079, allocations: 20 kB / 1.188 GB, free: 9.621 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.6102, allocations: 1.577 MB / 1.19 GB, free: 8.039 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.6113, allocations: 455.2 kB / 1.19 GB, free: 7.594 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.6265, allocations: 17.91 MB / 1.208 GB, free: 5.242 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.6286, allocations: 155.8 kB / 1.208 GB, free: 5.09 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003763/0.629, allocations: 107.9 kB / 1.208 GB, free: 4.984 MB / 1.042 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003706/0.6327, allocations: 1.941 MB / 1.21 GB, free: 3.031 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005752/0.6332, allocations: 298.2 kB / 1.21 GB, free: 2.738 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/0.6381, allocations: 4.404 MB / 1.215 GB, free: 14.3 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.6382, allocations: 20 kB / 1.215 GB, free: 14.29 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-05/0.6382, allocations: 16 kB / 1.215 GB, free: 14.27 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.6382, allocations: 11.95 kB / 1.215 GB, free: 14.26 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.6513, allocations: 9.171 MB / 1.224 GB, free: 4.988 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.6513, allocations: 7.938 kB / 1.224 GB, free: 4.98 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.6519, allocations: 230.7 kB / 1.224 GB, free: 4.758 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/0.6539, allocations: 1.426 MB / 1.225 GB, free: 3.324 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.6541, allocations: 44 kB / 1.225 GB, free: 3.281 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/0.6689, allocations: 17.89 MB / 1.243 GB, free: 0.9453 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.6689, allocations: 11.94 kB / 1.243 GB, free: 0.9336 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005296/0.6742, allocations: 4.484 MB / 1.247 GB, free: 12.37 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.6756, allocations: 0.5799 MB / 1.248 GB, free: 11.79 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004865/0.6761, allocations: 39.98 kB / 1.248 GB, free: 11.75 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009959/0.6771, allocations: 120.1 kB / 1.248 GB, free: 11.63 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004304/0.6775, allocations: 189.5 kB / 1.248 GB, free: 11.44 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.6776, allocations: 64 kB / 1.248 GB, free: 11.38 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001588/0.6792, allocations: 1.319 MB / 1.249 GB, free: 10.05 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6792, allocations: 3.938 kB / 1.249 GB, free: 10.05 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.003404/0.6826, allocations: 1.141 MB / 1.25 GB, free: 8.906 MB / 1.089 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005424/0.688, allocations: 5.101 MB / 1.255 GB, free: 3.707 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.005401/0.6934, allocations: 4.551 MB / 1.26 GB, free: 15.15 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.6935, allocations: 4 kB / 1.26 GB, free: 15.15 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003177/0.6966, allocations: 2.801 MB / 1.263 GB, free: 12.3 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/0.6997, allocations: 0.9037 MB / 1.264 GB, free: 11.41 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04159/0.7413, allocations: 30.63 MB / 1.293 GB, free: 11.59 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004647/0.746, allocations: 3.167 MB / 1.297 GB, free: 8.383 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001703/0.7477, allocations: 0.5556 MB / 1.297 GB, free: 7.82 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002189/0.7499, allocations: 1.957 MB / 1.299 GB, free: 5.863 MB / 1.135 GB Notification: Performance of SimCode: time 1.503e-06/0.7499, allocations: 0 / 1.299 GB, free: 5.863 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09512/0.845, allocations: 90.36 MB / 1.387 GB, free: 12.9 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.48/10.32, allocations: 4.062 kB / 1.387 GB, free: 12.89 MB / 1.229 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 14.80089997779578]