Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.00219/0.00219, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.00243/0.00243, allocations: 215 kB / 20.13 MB, free: 2.949 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.838/2.838, allocations: 476.7 MB / 0.7678 GB, free: 9.34 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.002362/0.002362, allocations: 71.91 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9309/0.9333, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01021/0.9435, allocations: 6.926 MB / 1.286 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006754/0.9502, allocations: 3.132 MB / 1.289 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.9513, allocations: 40.91 kB / 1.289 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.9543, allocations: 0.9636 MB / 1.29 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.9563, allocations: 0.5269 MB / 1.29 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.9577, allocations: 442.7 kB / 1.291 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.9595, allocations: 1.227 MB / 1.292 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008692/0.9604, allocations: 0.5316 MB / 1.292 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008059/0.9612, allocations: 493.6 kB / 1.293 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008341/0.962, allocations: 0.5524 MB / 1.293 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.9621, allocations: 66.66 kB / 1.293 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008819/0.963, allocations: 392.5 kB / 1.294 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003859/0.9634, allocations: 314.6 kB / 1.294 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005271/0.9639, allocations: 456 kB / 1.295 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.9657, allocations: 1.216 MB / 1.296 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9657, allocations: 1.219 kB / 1.296 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9657, allocations: 0 / 1.296 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.47e-05/0.9657, allocations: 0 / 1.296 GB, free: 1.609 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002376/0.9681, allocations: 1.2 MB / 1.297 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.9681, allocations: 8.562 kB / 1.297 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.864e-05/0.9682, allocations: 22.47 kB / 1.297 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/0.9684, allocations: 119.5 kB / 1.297 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.9701, allocations: 239.5 kB / 1.297 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.9712, allocations: 0.6083 MB / 1.298 GB, free: 252 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.9713, allocations: 60.3 kB / 1.298 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.9714, allocations: 62.02 kB / 1.298 GB, free: 196 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.9732, allocations: 1.087 MB / 1.299 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.9732, allocations: 11.7 kB / 1.299 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/0.9733, allocations: 33.55 kB / 1.299 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001727/0.9735, allocations: 84.25 kB / 1.299 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.9748, allocations: 0.7494 MB / 1.3 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006514/0.9813, allocations: 5.885 MB / 1.306 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.9823, allocations: 0.511 MB / 1.306 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004757/0.9828, allocations: 283.7 kB / 1.306 GB, free: 9.941 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.9828, allocations: 10.03 kB / 1.306 GB, free: 9.938 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.9829, allocations: 41.94 kB / 1.307 GB, free: 9.891 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/0.9829, allocations: 1.188 kB / 1.307 GB, free: 9.891 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004342/0.9872, allocations: 1.984 MB / 1.308 GB, free: 8.836 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.9873, allocations: 57.75 kB / 1.309 GB, free: 8.773 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007998/0.9881, allocations: 0.5647 MB / 1.309 GB, free: 8.508 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.9881, allocations: 31.02 kB / 1.309 GB, free: 8.473 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.9885, allocations: 436.1 kB / 1.31 GB, free: 8.125 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.9887, allocations: 179.5 kB / 1.31 GB, free: 7.984 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.9889, allocations: 126.4 kB / 1.31 GB, free: 7.914 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.9891, allocations: 381.5 kB / 1.31 GB, free: 7.566 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.9896, allocations: 271.2 kB / 1.31 GB, free: 7.477 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/0.9902, allocations: 494.3 kB / 1.311 GB, free: 7.105 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.9914, allocations: 0.8145 MB / 1.312 GB, free: 6.562 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9914, allocations: 2.094 kB / 1.312 GB, free: 6.562 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002205/0.9936, allocations: 1.082 MB / 1.313 GB, free: 6.098 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.9937, allocations: 11.73 kB / 1.313 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.9937, allocations: 6.781 kB / 1.313 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009935/0.9947, allocations: 281.4 kB / 1.313 GB, free: 6.008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.9952, allocations: 124.7 kB / 1.313 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007527/1.003, allocations: 7.137 MB / 1.32 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/1.004, allocations: 48.19 kB / 1.32 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/1.004, allocations: 27.97 kB / 1.32 GB, free: 15.73 MB / 1.029 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000447/1.004, allocations: 255.2 kB / 1.32 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/1.004, allocations: 77.08 kB / 1.321 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/1.006, allocations: 0.8822 MB / 1.321 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.006, allocations: 5.688 kB / 1.321 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.006, allocations: 4.172 kB / 1.321 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.006, allocations: 2.484 kB / 1.321 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/1.009, allocations: 1.718 MB / 1.323 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.009, allocations: 1.344 kB / 1.323 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/1.009, allocations: 60.95 kB / 1.323 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008607/1.01, allocations: 269.1 kB / 1.323 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/1.01, allocations: 12.12 kB / 1.323 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007826/1.018, allocations: 7.124 MB / 1.33 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/1.018, allocations: 5.781 kB / 1.33 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/1.02, allocations: 0.9809 MB / 1.331 GB, free: 7.312 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/1.02, allocations: 193.5 kB / 1.331 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-05/1.021, allocations: 15.97 kB / 1.332 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/1.021, allocations: 32.7 kB / 1.332 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/1.021, allocations: 47.7 kB / 1.332 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/1.021, allocations: 14.59 kB / 1.332 GB, free: 7.082 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000541/1.022, allocations: 392.4 kB / 1.332 GB, free: 6.855 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.022, allocations: 0 / 1.332 GB, free: 6.855 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009851/1.023, allocations: 224.8 kB / 1.332 GB, free: 6.832 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002001/1.025, allocations: 1.536 MB / 1.334 GB, free: 5.652 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002345/1.027, allocations: 1.239 MB / 1.335 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.027, allocations: 1.188 kB / 1.335 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.028, allocations: 0.8712 MB / 1.336 GB, free: 4.113 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/1.03, allocations: 219.2 kB / 1.336 GB, free: 3.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/1.04, allocations: 6.385 MB / 1.342 GB, free: 15.64 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007398/1.041, allocations: 1.012 MB / 1.343 GB, free: 14.78 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000447/1.041, allocations: 124.3 kB / 1.343 GB, free: 14.72 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/1.042, allocations: 257.1 kB / 1.344 GB, free: 14.51 MB / 1.045 GB Notification: Performance of SimCode: time 9.71e-07/1.042, allocations: 1.375 kB / 1.344 GB, free: 14.51 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05594/1.098, allocations: 17.68 MB / 1.361 GB, free: 6.094 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.42, allocations: 16.5 kB / 1.361 GB, free: 6.086 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 18.81632454803912]