Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001737/0.001737, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002175/0.002175, allocations: 223.7 kB / 23.03 MB, free: 4.945 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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 3.132/3.132, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 65.73 kB / 1.171 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3261, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02466/0.3508, allocations: 19.5 MB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.3621, allocations: 6.473 MB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.364, allocations: 115.1 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006027/0.37, allocations: 2.224 MB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.3733, allocations: 1.252 MB / 1.374 GB, free: 2.305 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.3765, allocations: 1.293 MB / 1.375 GB, free: 1.012 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005747/0.3823, allocations: 4.843 MB / 1.38 GB, free: 12.15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005158/0.3874, allocations: 3.178 MB / 1.383 GB, free: 8.902 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003424/0.3909, allocations: 2.17 MB / 1.385 GB, free: 6.727 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00417/0.395, allocations: 2.473 MB / 1.388 GB, free: 4.246 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.3961, allocations: 428 kB / 1.388 GB, free: 3.828 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.3986, allocations: 0.9401 MB / 1.389 GB, free: 2.887 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002387/0.401, allocations: 1.715 MB / 1.391 GB, free: 1.168 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003248/0.4043, allocations: 1.549 MB / 1.392 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008731/0.413, allocations: 6.573 MB / 1.399 GB, free: 9.02 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.413, allocations: 0 / 1.399 GB, free: 9.02 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.834e-06/0.413, allocations: 4 kB / 1.399 GB, free: 9.016 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001949/0.4132, allocations: 0 / 1.399 GB, free: 9.016 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008432/0.4216, allocations: 3.458 MB / 1.402 GB, free: 5.508 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4217, allocations: 12.02 kB / 1.402 GB, free: 5.496 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.986e-05/0.4218, allocations: 86.16 kB / 1.402 GB, free: 5.41 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007389/0.4225, allocations: 446.6 kB / 1.403 GB, free: 4.961 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/0.4259, allocations: 0.6584 MB / 1.403 GB, free: 4.301 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004008/0.4299, allocations: 1.99 MB / 1.405 GB, free: 2.262 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.4301, allocations: 226.3 kB / 1.405 GB, free: 2.039 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005436/0.4307, allocations: 299.8 kB / 1.406 GB, free: 1.746 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008844/0.4395, allocations: 5.238 MB / 1.411 GB, free: 12.23 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.927e-05/0.4396, allocations: 11.94 kB / 1.411 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.4399, allocations: 132 kB / 1.411 GB, free: 12.09 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004487/0.4403, allocations: 233.7 kB / 1.411 GB, free: 11.86 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006253/0.4466, allocations: 3.75 MB / 1.415 GB, free: 8.094 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/0.4651, allocations: 13.58 MB / 1.428 GB, free: 10.16 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.4669, allocations: 1.225 MB / 1.429 GB, free: 8.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.4683, allocations: 0.9836 MB / 1.43 GB, free: 7.945 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.91e-05/0.4684, allocations: 9 kB / 1.43 GB, free: 7.938 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.4684, allocations: 51.56 kB / 1.43 GB, free: 7.879 MB / 1.123 GB Notification: Performance of pre-optimization done (n=107): time 3.427e-06/0.4684, allocations: 0 / 1.43 GB, free: 7.879 MB / 1.123 GB Notification: Performance of matching and sorting (n=138): time 0.02338/0.4918, allocations: 8.436 MB / 1.439 GB, free: 15.44 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.4919, allocations: 64.72 kB / 1.439 GB, free: 15.37 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.4933, allocations: 1.13 MB / 1.44 GB, free: 14.23 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.4934, allocations: 53.7 kB / 1.44 GB, free: 14.17 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009193/0.4944, allocations: 1.331 MB / 1.441 GB, free: 12.83 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/0.4948, allocations: 0.4996 MB / 1.442 GB, free: 12.32 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005031/0.4953, allocations: 299.5 kB / 1.442 GB, free: 12.03 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4954, allocations: 305.1 kB / 1.442 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.4967, allocations: 0.9135 MB / 1.443 GB, free: 10.81 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.4983, allocations: 1.322 MB / 1.444 GB, free: 9.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/0.5014, allocations: 2.426 MB / 1.447 GB, free: 6.723 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.5014, allocations: 0 / 1.447 GB, free: 6.723 MB / 1.139 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006257/0.5077, allocations: 3.437 MB / 1.45 GB, free: 3.266 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.5077, allocations: 12 kB / 1.45 GB, free: 3.254 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.5077, allocations: 12 kB / 1.45 GB, free: 3.242 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003433/0.5112, allocations: 1.178 MB / 1.451 GB, free: 2.059 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.5122, allocations: 255.6 kB / 1.451 GB, free: 1.809 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/0.5307, allocations: 13.37 MB / 1.465 GB, free: 4.102 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.532, allocations: 87.98 kB / 1.465 GB, free: 4.016 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.5322, allocations: 63.98 kB / 1.465 GB, free: 3.953 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001984/0.5342, allocations: 1.11 MB / 1.466 GB, free: 2.832 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004381/0.5347, allocations: 174.9 kB / 1.466 GB, free: 2.66 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005902/0.5406, allocations: 3.126 MB / 1.469 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.5406, allocations: 19.94 kB / 1.469 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.737e-05/0.5406, allocations: 12 kB / 1.469 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.5406, allocations: 7.969 kB / 1.469 GB, free: 15.47 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.552, allocations: 5.905 MB / 1.475 GB, free: 9.438 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.552, allocations: 4.938 kB / 1.475 GB, free: 9.434 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/0.5526, allocations: 147.8 kB / 1.475 GB, free: 9.289 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/0.5556, allocations: 1.067 MB / 1.476 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.5558, allocations: 39.92 kB / 1.476 GB, free: 8.176 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/0.5735, allocations: 13.04 MB / 1.489 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.5735, allocations: 4 kB / 1.489 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/0.5793, allocations: 3.116 MB / 1.492 GB, free: 7.59 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009816/0.5803, allocations: 358.8 kB / 1.492 GB, free: 7.238 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003521/0.5807, allocations: 36.36 kB / 1.492 GB, free: 7.203 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009319/0.5816, allocations: 79.91 kB / 1.492 GB, free: 7.125 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/0.582, allocations: 136.6 kB / 1.492 GB, free: 6.992 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.5821, allocations: 44 kB / 1.492 GB, free: 6.949 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001331/0.5834, allocations: 0.7632 MB / 1.493 GB, free: 6.184 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5834, allocations: 7.938 kB / 1.493 GB, free: 6.176 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002403/0.5858, allocations: 0.6602 MB / 1.494 GB, free: 5.516 MB / 1.186 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005881/0.5917, allocations: 3.713 MB / 1.497 GB, free: 1.699 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00518/0.5969, allocations: 3.009 MB / 1.5 GB, free: 14.66 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.5969, allocations: 7.938 kB / 1.5 GB, free: 14.65 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003114/0.6, allocations: 1.873 MB / 1.502 GB, free: 12.74 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/0.6024, allocations: 0.5002 MB / 1.503 GB, free: 12.25 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03297/0.6354, allocations: 19.18 MB / 1.521 GB, free: 8.48 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/0.6387, allocations: 1.773 MB / 1.523 GB, free: 6.672 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001064/0.6397, allocations: 354.1 kB / 1.523 GB, free: 6.32 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/0.6411, allocations: 1.011 MB / 1.524 GB, free: 5.309 MB / 1.217 GB Notification: Performance of SimCode: time 1.613e-06/0.6411, allocations: 0 / 1.524 GB, free: 5.309 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/0.7435, allocations: 56.12 MB / 1.579 GB, free: 13.99 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.55, allocations: 8.062 kB / 1.579 GB, free: 13.98 MB / 1.279 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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: 21.841993395006284]