Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.001873/0.001873, allocations: 119 kB / 17.17 MB, free: 5.906 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.002254/0.002254, allocations: 211 kB / 20.13 MB, free: 2.969 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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.925/2.925, allocations: 476.7 MB / 0.7678 GB, free: 9.496 MB / 0.6075 GB " [Timeout remaining time 176] 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_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.002039/0.002039, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.031, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00984/1.041, allocations: 6.854 MB / 1.286 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006086/1.047, allocations: 3.102 MB / 1.289 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008684/1.048, allocations: 39.88 kB / 1.289 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002688/1.051, allocations: 0.9586 MB / 1.29 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/1.053, allocations: 0.5255 MB / 1.29 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/1.054, allocations: 417.8 kB / 1.291 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002019/1.056, allocations: 1.224 MB / 1.292 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/1.058, allocations: 0.5331 MB / 1.292 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/1.059, allocations: 495 kB / 1.293 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/1.061, allocations: 0.5386 MB / 1.293 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/1.061, allocations: 71.06 kB / 1.293 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/1.062, allocations: 396 kB / 1.294 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006305/1.063, allocations: 311.3 kB / 1.294 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008754/1.064, allocations: 447.1 kB / 1.294 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002978/1.067, allocations: 1.218 MB / 1.296 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.067, allocations: 0.75 kB / 1.296 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.067, allocations: 0 / 1.296 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.209e-05/1.067, allocations: 1.688 kB / 1.296 GB, free: 1.684 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.002799/1.07, allocations: 1.187 MB / 1.297 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.07, allocations: 10.25 kB / 1.297 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.101e-05/1.07, allocations: 17.31 kB / 1.297 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000187/1.07, allocations: 123.7 kB / 1.297 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/1.072, allocations: 243.8 kB / 1.297 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/1.073, allocations: 0.5919 MB / 1.298 GB, free: 340 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/1.073, allocations: 51.83 kB / 1.298 GB, free: 312 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.073, allocations: 61.33 kB / 1.298 GB, free: 292 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/1.075, allocations: 1.096 MB / 1.299 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/1.075, allocations: 7.531 kB / 1.299 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/1.075, allocations: 28.97 kB / 1.299 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/1.075, allocations: 88.81 kB / 1.299 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/1.077, allocations: 0.749 MB / 1.3 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007237/1.084, allocations: 5.889 MB / 1.306 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/1.085, allocations: 0.5054 MB / 1.306 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/1.086, allocations: 287.6 kB / 1.306 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/1.086, allocations: 5.312 kB / 1.306 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/1.086, allocations: 42.5 kB / 1.306 GB, free: 9.988 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.375e-06/1.086, allocations: 0 / 1.306 GB, free: 9.988 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004835/1.091, allocations: 1.992 MB / 1.308 GB, free: 8.926 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/1.091, allocations: 56.97 kB / 1.308 GB, free: 8.863 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009038/1.091, allocations: 0.5502 MB / 1.309 GB, free: 8.605 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.14e-05/1.092, allocations: 36.86 kB / 1.309 GB, free: 8.566 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/1.092, allocations: 429.9 kB / 1.309 GB, free: 8.219 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/1.092, allocations: 176.8 kB / 1.309 GB, free: 8.082 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/1.092, allocations: 128.4 kB / 1.31 GB, free: 8.008 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002369/1.093, allocations: 382.5 kB / 1.31 GB, free: 7.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/1.093, allocations: 271.5 kB / 1.31 GB, free: 7.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/1.094, allocations: 497.3 kB / 1.311 GB, free: 7.195 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/1.095, allocations: 0.8105 MB / 1.311 GB, free: 6.656 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.095, allocations: 2.312 kB / 1.311 GB, free: 6.656 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002354/1.097, allocations: 1.082 MB / 1.313 GB, free: 6.191 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/1.097, allocations: 8.312 kB / 1.313 GB, free: 6.191 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/1.097, allocations: 7.766 kB / 1.313 GB, free: 6.191 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/1.099, allocations: 277.2 kB / 1.313 GB, free: 6.105 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/1.099, allocations: 128.9 kB / 1.313 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008277/1.108, allocations: 7.141 MB / 1.32 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/1.108, allocations: 35.03 kB / 1.32 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/1.108, allocations: 31.88 kB / 1.32 GB, free: 15.83 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.000518/1.109, allocations: 260 kB / 1.32 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/1.109, allocations: 76.84 kB / 1.32 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/1.111, allocations: 0.8778 MB / 1.321 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/1.111, allocations: 5.688 kB / 1.321 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.111, allocations: 4 kB / 1.321 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.111, allocations: 6.328 kB / 1.321 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/1.114, allocations: 1.71 MB / 1.323 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.114, allocations: 2.188 kB / 1.323 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/1.114, allocations: 68.66 kB / 1.323 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008638/1.115, allocations: 266.6 kB / 1.323 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/1.115, allocations: 10.91 kB / 1.323 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00747/1.123, allocations: 7.125 MB / 1.33 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.123, allocations: 6.031 kB / 1.33 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/1.125, allocations: 0.9802 MB / 1.331 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/1.125, allocations: 197.4 kB / 1.331 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.142e-05/1.125, allocations: 11.41 kB / 1.331 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/1.126, allocations: 32.95 kB / 1.331 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.126, allocations: 47.06 kB / 1.331 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/1.126, allocations: 15.5 kB / 1.331 GB, free: 7.199 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005313/1.126, allocations: 385.2 kB / 1.332 GB, free: 6.973 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/1.126, allocations: 0 / 1.332 GB, free: 6.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00112/1.127, allocations: 225.4 kB / 1.332 GB, free: 6.949 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.002032/1.13, allocations: 1.534 MB / 1.333 GB, free: 5.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002279/1.132, allocations: 1.239 MB / 1.335 GB, free: 4.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.132, allocations: 5.25 kB / 1.335 GB, free: 4.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/1.133, allocations: 0.8626 MB / 1.336 GB, free: 4.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.135, allocations: 218.4 kB / 1.336 GB, free: 4.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/1.145, allocations: 6.362 MB / 1.342 GB, free: 15.76 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/1.146, allocations: 1.009 MB / 1.343 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005377/1.147, allocations: 120.1 kB / 1.343 GB, free: 14.85 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/1.147, allocations: 253.1 kB / 1.343 GB, free: 14.64 MB / 1.045 GB Notification: Performance of SimCode: time 1.022e-06/1.147, allocations: 0 / 1.343 GB, free: 14.64 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06121/1.208, allocations: 17.55 MB / 1.36 GB, free: 6.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.24, allocations: 10.03 kB / 1.36 GB, free: 6.23 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.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: 19.820555397018325]