Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 104.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.11/3.11, allocations: 497.2 MB / 0.7811 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.52 kB / 1.134 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3196, allocations: 173.9 MB / 1.304 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01834/0.338, allocations: 14.24 MB / 1.318 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.353, allocations: 9.512 MB / 1.327 GB, free: 9.781 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.3541, allocations: 55.69 kB / 1.327 GB, free: 9.727 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004601/0.3587, allocations: 1.688 MB / 1.329 GB, free: 8.035 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00474/0.3634, allocations: 1.582 MB / 1.33 GB, free: 6.449 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.3655, allocations: 0.7548 MB / 1.331 GB, free: 5.695 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003482/0.369, allocations: 2.516 MB / 1.334 GB, free: 3.168 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.3708, allocations: 1.13 MB / 1.335 GB, free: 2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.3725, allocations: 1.071 MB / 1.336 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.3744, allocations: 1.21 MB / 1.337 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.3747, allocations: 164 kB / 1.337 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.3763, allocations: 0.8072 MB / 1.338 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007187/0.377, allocations: 0.627 MB / 1.338 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.3782, allocations: 0.9445 MB / 1.339 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.3817, allocations: 2.767 MB / 1.342 GB, free: 10.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3818, allocations: 0 / 1.342 GB, free: 10.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.053e-06/0.3818, allocations: 0 / 1.342 GB, free: 10.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.595e-05/0.3818, allocations: 0 / 1.342 GB, free: 10.39 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004518/0.3863, allocations: 2.199 MB / 1.344 GB, free: 8.129 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3864, allocations: 8.625 kB / 1.344 GB, free: 8.121 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002705/0.3866, allocations: 202.4 kB / 1.344 GB, free: 7.914 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.3979, allocations: 2.086 MB / 1.347 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/0.4012, allocations: 1.303 MB / 1.348 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.465e-05/0.4013, allocations: 94.42 kB / 1.348 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/0.4016, allocations: 116 kB / 1.348 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006108/0.4077, allocations: 2.671 MB / 1.351 GB, free: 1.438 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.4078, allocations: 11.89 kB / 1.351 GB, free: 1.426 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.4079, allocations: 59.98 kB / 1.351 GB, free: 1.367 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005783/0.4085, allocations: 182.1 kB / 1.351 GB, free: 1.188 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007677/0.4162, allocations: 2.791 MB / 1.354 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/0.434, allocations: 10.49 MB / 1.364 GB, free: 3.316 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006874/0.4409, allocations: 2.443 MB / 1.366 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/0.4441, allocations: 1.21 MB / 1.367 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/0.4442, allocations: 9 kB / 1.367 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.4442, allocations: 47.5 kB / 1.367 GB, free: 15.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.026e-06/0.4442, allocations: 4 kB / 1.367 GB, free: 15.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04611/0.4903, allocations: 13.33 MB / 1.38 GB, free: 1.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.4904, allocations: 68.7 kB / 1.381 GB, free: 1.902 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.4921, allocations: 1.113 MB / 1.382 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.4923, allocations: 49.7 kB / 1.382 GB, free: 0.7188 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/0.4929, allocations: 0.7367 MB / 1.382 GB, free: 15.97 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/0.4934, allocations: 467.9 kB / 1.383 GB, free: 15.51 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005738/0.494, allocations: 267.5 kB / 1.383 GB, free: 15.24 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4942, allocations: 361.7 kB / 1.383 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003304/0.4975, allocations: 1.343 MB / 1.385 GB, free: 13.54 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003581/0.5011, allocations: 1.604 MB / 1.386 GB, free: 11.84 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007228/0.5083, allocations: 2.991 MB / 1.389 GB, free: 8.754 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.5083, allocations: 0 / 1.389 GB, free: 8.754 MB / 1.092 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01206/0.5204, allocations: 4.404 MB / 1.394 GB, free: 4.297 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.5204, allocations: 8 kB / 1.394 GB, free: 4.289 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.5204, allocations: 12.03 kB / 1.394 GB, free: 4.277 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00539/0.5258, allocations: 1.431 MB / 1.395 GB, free: 2.805 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.5279, allocations: 447.2 kB / 1.395 GB, free: 2.367 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03139/0.5593, allocations: 26.69 MB / 1.421 GB, free: 5.844 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.5617, allocations: 311.6 kB / 1.422 GB, free: 5.539 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.5619, allocations: 64.06 kB / 1.422 GB, free: 5.477 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008426/0.5627, allocations: 433.5 kB / 1.422 GB, free: 5.043 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.563, allocations: 171 kB / 1.422 GB, free: 4.875 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.5749, allocations: 4.41 MB / 1.427 GB, free: 424 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.5749, allocations: 12 kB / 1.427 GB, free: 412 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.804e-05/0.575, allocations: 12 kB / 1.427 GB, free: 400 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.575, allocations: 7.969 kB / 1.427 GB, free: 392 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.5914, allocations: 6.721 MB / 1.433 GB, free: 9.492 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.5914, allocations: 8.328 kB / 1.433 GB, free: 9.484 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/0.5932, allocations: 375.4 kB / 1.434 GB, free: 9.117 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004913/0.5981, allocations: 1.318 MB / 1.435 GB, free: 7.758 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.5983, allocations: 43.95 kB / 1.435 GB, free: 7.715 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02931/0.6276, allocations: 25.49 MB / 1.46 GB, free: 12.4 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/0.6276, allocations: 11.92 kB / 1.46 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/0.6391, allocations: 4.168 MB / 1.464 GB, free: 8.125 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.6404, allocations: 467.8 kB / 1.464 GB, free: 7.648 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002936/0.6407, allocations: 24 kB / 1.464 GB, free: 7.625 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/0.6428, allocations: 307.5 kB / 1.465 GB, free: 7.324 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/0.6432, allocations: 128.7 kB / 1.465 GB, free: 7.199 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.6433, allocations: 51.95 kB / 1.465 GB, free: 7.148 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001156/0.6445, allocations: 0.7565 MB / 1.466 GB, free: 6.391 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6445, allocations: 3.938 kB / 1.466 GB, free: 6.387 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001937/0.6464, allocations: 0.5742 MB / 1.466 GB, free: 5.812 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0113/0.6577, allocations: 4.74 MB / 1.471 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0114/0.6691, allocations: 4.962 MB / 1.476 GB, free: 11.84 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.6692, allocations: 4 kB / 1.476 GB, free: 11.83 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00737/0.6765, allocations: 3.429 MB / 1.479 GB, free: 8.23 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.679, allocations: 0.544 MB / 1.48 GB, free: 7.703 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04366/0.7226, allocations: 19.32 MB / 1.498 GB, free: 3.934 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.7241, allocations: 1.473 MB / 1.5 GB, free: 2.426 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001563/0.7257, allocations: 429.6 kB / 1.5 GB, free: 2 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009621/0.7266, allocations: 0.6242 MB / 1.501 GB, free: 1.379 MB / 1.201 GB Notification: Performance of SimCode: time 1.202e-06/0.7266, allocations: 0 / 1.501 GB, free: 1.379 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/0.8616, allocations: 51.99 MB / 1.552 GB, free: 14.04 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.52/20.38, allocations: 4 kB / 1.552 GB, free: 14.03 MB / 1.264 GB " [Timeout remaining time 280] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 26.950078956317157]