Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001377/0.001377, allocations: 104.3 kB / 17.54 MB, free: 4.781 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.001387/0.001387, allocations: 182.6 kB / 20.71 MB, free: 1.625 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.311/1.311, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.469/2.469, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 75.88 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7454/0.7472, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0141/0.7613, allocations: 15.33 MB / 1.286 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.7759, allocations: 10.72 MB / 1.297 GB, free: 6.184 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.7771, allocations: 57.28 kB / 1.297 GB, free: 6.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004027/0.7811, allocations: 1.748 MB / 1.299 GB, free: 5.137 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004594/0.7857, allocations: 1.859 MB / 1.3 GB, free: 4.059 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.7875, allocations: 0.7635 MB / 1.301 GB, free: 3.656 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003537/0.791, allocations: 2.757 MB / 1.304 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.7926, allocations: 1.002 MB / 1.305 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.7948, allocations: 1.526 MB / 1.306 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.7967, allocations: 1.234 MB / 1.308 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002238/0.7969, allocations: 161.7 kB / 1.308 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.7984, allocations: 0.804 MB / 1.308 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005952/0.799, allocations: 0.6189 MB / 1.309 GB, free: 300 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009718/0.7999, allocations: 0.9515 MB / 1.31 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.8031, allocations: 2.774 MB / 1.313 GB, free: 14.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8031, allocations: 0.5156 kB / 1.313 GB, free: 14.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8031, allocations: 9.188 kB / 1.313 GB, free: 14.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.797e-05/0.8032, allocations: 0 / 1.313 GB, free: 14.72 MB / 1.029 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.004229/0.8074, allocations: 2.223 MB / 1.315 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.8074, allocations: 8.938 kB / 1.315 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002565/0.8077, allocations: 198.7 kB / 1.315 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.8189, allocations: 2.119 MB / 1.317 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.8217, allocations: 1.314 MB / 1.318 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/0.8217, allocations: 85.73 kB / 1.319 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.822, allocations: 127.9 kB / 1.319 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005697/0.8277, allocations: 2.668 MB / 1.321 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/0.8277, allocations: 7.859 kB / 1.321 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.8279, allocations: 54.53 kB / 1.321 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006559/0.8286, allocations: 194.6 kB / 1.321 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00746/0.836, allocations: 2.792 MB / 1.324 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.8502, allocations: 10.48 MB / 1.334 GB, free: 3.145 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006276/0.8564, allocations: 2.259 MB / 1.337 GB, free: 1.918 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002946/0.8594, allocations: 1.204 MB / 1.338 GB, free: 1.305 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-05/0.8594, allocations: 16.64 kB / 1.338 GB, free: 1.297 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.8595, allocations: 44.12 kB / 1.338 GB, free: 1.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.295e-06/0.8595, allocations: 0 / 1.338 GB, free: 1.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=153): time 0.05676/0.9162, allocations: 16.44 MB / 1.354 GB, free: 9.176 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.9163, allocations: 68.22 kB / 1.354 GB, free: 9.109 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.9178, allocations: 1.173 MB / 1.355 GB, free: 8.469 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.918, allocations: 51.98 kB / 1.355 GB, free: 8.418 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005566/0.9185, allocations: 0.7514 MB / 1.356 GB, free: 7.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005084/0.919, allocations: 0.5408 MB / 1.356 GB, free: 7.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005605/0.9196, allocations: 295.9 kB / 1.357 GB, free: 7.102 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.9197, allocations: 306.2 kB / 1.357 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0034/0.9231, allocations: 1.502 MB / 1.358 GB, free: 6.023 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003611/0.9267, allocations: 1.781 MB / 1.36 GB, free: 4.926 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007083/0.9338, allocations: 3.37 MB / 1.364 GB, free: 2.988 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.9338, allocations: 5.25 kB / 1.364 GB, free: 2.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01296/0.9468, allocations: 5.215 MB / 1.369 GB, free: 116 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.9468, allocations: 7.719 kB / 1.369 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.9468, allocations: 8.188 kB / 1.369 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/0.9534, allocations: 1.874 MB / 1.37 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/0.9553, allocations: 419.2 kB / 1.371 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02918/0.9845, allocations: 24.17 MB / 1.394 GB, free: 4.738 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.9872, allocations: 303.5 kB / 1.395 GB, free: 4.441 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.9874, allocations: 71.89 kB / 1.395 GB, free: 4.371 MB / 1.076 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009139/0.9883, allocations: 463.1 kB / 1.395 GB, free: 3.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003167/0.9886, allocations: 186.8 kB / 1.395 GB, free: 3.727 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/1.002, allocations: 5.249 MB / 1.401 GB, free: 14.43 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.002, allocations: 16 kB / 1.401 GB, free: 14.41 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.522e-05/1.002, allocations: 20 kB / 1.401 GB, free: 14.39 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/1.002, allocations: 7.969 kB / 1.401 GB, free: 14.39 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/1.019, allocations: 7.356 MB / 1.408 GB, free: 6.902 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.019, allocations: 352 / 1.408 GB, free: 6.902 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/1.02, allocations: 355.4 kB / 1.408 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005672/1.026, allocations: 1.709 MB / 1.41 GB, free: 4.824 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.026, allocations: 43.91 kB / 1.41 GB, free: 4.781 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/1.053, allocations: 23.33 MB / 1.433 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.053, allocations: 192 / 1.433 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.065, allocations: 4.841 MB / 1.437 GB, free: 7.418 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009627/1.066, allocations: 0.4958 MB / 1.438 GB, free: 6.902 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.066, allocations: 24 kB / 1.438 GB, free: 6.879 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/1.069, allocations: 319.5 kB / 1.438 GB, free: 6.566 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004478/1.069, allocations: 164.9 kB / 1.438 GB, free: 6.402 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.069, allocations: 47.97 kB / 1.438 GB, free: 6.355 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001013/1.07, allocations: 0.7899 MB / 1.439 GB, free: 5.566 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.1e-08/1.07, allocations: 0 / 1.439 GB, free: 5.566 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001879/1.072, allocations: 0.6562 MB / 1.44 GB, free: 4.91 MB / 1.123 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01197/1.084, allocations: 5.418 MB / 1.445 GB, free: 15.4 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.095, allocations: 4.925 MB / 1.45 GB, free: 10.37 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.095, allocations: 0 / 1.45 GB, free: 10.37 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.006592/1.101, allocations: 3.261 MB / 1.453 GB, free: 7 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/1.104, allocations: 0.5501 MB / 1.454 GB, free: 6.465 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04359/1.147, allocations: 21.79 MB / 1.475 GB, free: 184 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.149, allocations: 1.572 MB / 1.476 GB, free: 14.57 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001265/1.15, allocations: 394.4 kB / 1.477 GB, free: 14.18 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008633/1.151, allocations: 0.6554 MB / 1.477 GB, free: 13.52 MB / 1.17 GB Notification: Performance of SimCode: time 7.71e-07/1.151, allocations: 0 / 1.477 GB, free: 13.52 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/1.266, allocations: 59.73 MB / 1.536 GB, free: 2.418 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/19.56, allocations: 12.34 kB / 1.536 GB, free: 2.414 MB / 1.217 GB " [Timeout remaining time 280] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 24.92322823900031]