Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001357/0.001357, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001746/0.001746, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.091/3.091, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",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.001972/0.001972, allocations: 61.56 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3165, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02037/0.3369, allocations: 15.34 MB / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.3539, allocations: 10.76 MB / 1.351 GB, free: 7.762 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.3552, allocations: 79.31 kB / 1.351 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004894/0.3601, allocations: 1.765 MB / 1.353 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005831/0.3659, allocations: 1.847 MB / 1.355 GB, free: 4.062 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.3683, allocations: 0.7742 MB / 1.356 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004395/0.3727, allocations: 2.769 MB / 1.358 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.3749, allocations: 1.203 MB / 1.36 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.3774, allocations: 1.555 MB / 1.361 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.3797, allocations: 1.23 MB / 1.362 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004526/0.3802, allocations: 160 kB / 1.363 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.382, allocations: 0.8033 MB / 1.363 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008169/0.3828, allocations: 0.6191 MB / 1.364 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.3844, allocations: 0.9561 MB / 1.365 GB, free: 9.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004318/0.3887, allocations: 2.775 MB / 1.368 GB, free: 7.145 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3887, allocations: 0 / 1.368 GB, free: 7.145 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3887, allocations: 0 / 1.368 GB, free: 7.145 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.272e-05/0.3888, allocations: 0 / 1.368 GB, free: 7.145 MB / 1.061 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.005102/0.3939, allocations: 2.155 MB / 1.37 GB, free: 4.949 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3939, allocations: 12.03 kB / 1.37 GB, free: 4.938 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003699/0.3943, allocations: 198.3 kB / 1.37 GB, free: 4.734 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.4059, allocations: 2.11 MB / 1.372 GB, free: 2.621 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/0.4093, allocations: 1.24 MB / 1.373 GB, free: 1.332 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.4094, allocations: 86.67 kB / 1.373 GB, free: 1.246 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004775/0.4099, allocations: 119.9 kB / 1.373 GB, free: 1.129 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006655/0.4165, allocations: 2.674 MB / 1.376 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/0.4166, allocations: 4 kB / 1.376 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/0.4168, allocations: 47.98 kB / 1.376 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006411/0.4174, allocations: 198.1 kB / 1.376 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00798/0.4254, allocations: 2.795 MB / 1.379 GB, free: 11.25 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.4429, allocations: 10.36 MB / 1.389 GB, free: 336 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006537/0.4495, allocations: 2.183 MB / 1.391 GB, free: 14.13 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003253/0.4527, allocations: 1.207 MB / 1.392 GB, free: 12.92 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.479e-05/0.4528, allocations: 9 kB / 1.392 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.4528, allocations: 39.56 kB / 1.392 GB, free: 12.87 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 2.645e-06/0.4528, allocations: 4 kB / 1.392 GB, free: 12.86 MB / 1.092 GB Notification: Performance of matching and sorting (n=153): time 0.06094/0.5138, allocations: 16 MB / 1.408 GB, free: 12.82 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.5138, allocations: 68.72 kB / 1.408 GB, free: 12.74 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.5157, allocations: 1.172 MB / 1.409 GB, free: 11.55 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002912/0.5159, allocations: 53.7 kB / 1.409 GB, free: 11.5 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006418/0.5166, allocations: 0.7646 MB / 1.41 GB, free: 10.73 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000677/0.5173, allocations: 0.5344 MB / 1.411 GB, free: 10.19 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006685/0.5179, allocations: 287.5 kB / 1.411 GB, free: 9.898 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5181, allocations: 305.1 kB / 1.411 GB, free: 9.598 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/0.5218, allocations: 1.507 MB / 1.413 GB, free: 8.09 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003916/0.5257, allocations: 1.788 MB / 1.414 GB, free: 6.207 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007706/0.5334, allocations: 3.365 MB / 1.418 GB, free: 2.746 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5334, allocations: 0 / 1.418 GB, free: 2.746 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01505/0.5485, allocations: 5.219 MB / 1.423 GB, free: 13.49 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.5485, allocations: 8 kB / 1.423 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.5485, allocations: 8 kB / 1.423 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007364/0.5559, allocations: 1.88 MB / 1.425 GB, free: 11.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.5579, allocations: 415.2 kB / 1.425 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.033/0.5909, allocations: 23.34 MB / 1.448 GB, free: 2.918 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.5936, allocations: 307.5 kB / 1.448 GB, free: 2.617 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/0.594, allocations: 63.97 kB / 1.448 GB, free: 2.555 MB / 1.139 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.001232/0.5952, allocations: 473.8 kB / 1.449 GB, free: 2.086 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005794/0.5958, allocations: 190.8 kB / 1.449 GB, free: 1.898 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/0.6103, allocations: 5.246 MB / 1.454 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.6103, allocations: 15.94 kB / 1.454 GB, free: 12.59 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-05/0.6104, allocations: 20 kB / 1.454 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/0.6104, allocations: 7.969 kB / 1.454 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/0.629, allocations: 7.317 MB / 1.461 GB, free: 5.121 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.629, allocations: 4 kB / 1.461 GB, free: 5.117 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/0.6308, allocations: 359.7 kB / 1.461 GB, free: 4.766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006569/0.6374, allocations: 1.696 MB / 1.463 GB, free: 3.047 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002378/0.6376, allocations: 47.89 kB / 1.463 GB, free: 3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03117/0.6688, allocations: 22.52 MB / 1.485 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6688, allocations: 4 kB / 1.485 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/0.6818, allocations: 4.833 MB / 1.49 GB, free: 6.66 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.6831, allocations: 426.6 kB / 1.49 GB, free: 6.242 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/0.6835, allocations: 28 kB / 1.49 GB, free: 6.215 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/0.6858, allocations: 315.5 kB / 1.491 GB, free: 5.906 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005612/0.6864, allocations: 164.9 kB / 1.491 GB, free: 5.742 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/0.6866, allocations: 55.97 kB / 1.491 GB, free: 5.688 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001305/0.6879, allocations: 0.7899 MB / 1.492 GB, free: 4.898 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6879, allocations: 0 / 1.492 GB, free: 4.898 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002299/0.6902, allocations: 0.6601 MB / 1.492 GB, free: 4.238 MB / 1.186 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.01366/0.7038, allocations: 5.415 MB / 1.497 GB, free: 14.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01213/0.716, allocations: 4.925 MB / 1.502 GB, free: 9.703 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.716, allocations: 0 / 1.502 GB, free: 9.703 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.007496/0.7235, allocations: 3.273 MB / 1.505 GB, free: 6.324 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.7263, allocations: 0.5524 MB / 1.506 GB, free: 5.785 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05162/0.7779, allocations: 21.79 MB / 1.527 GB, free: 15.49 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/0.7798, allocations: 1.568 MB / 1.529 GB, free: 13.88 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001555/0.7814, allocations: 394.4 kB / 1.529 GB, free: 13.49 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.7825, allocations: 0.6554 MB / 1.53 GB, free: 12.84 MB / 1.232 GB Notification: Performance of SimCode: time 1.002e-06/0.7825, allocations: 0 / 1.53 GB, free: 12.84 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1608/0.9433, allocations: 60.76 MB / 1.589 GB, free: 0.7383 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.74/22.69, allocations: 3.938 kB / 1.589 GB, free: 0.7344 MB / 1.279 GB " [Timeout remaining time 277] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 29.250643712934107]