Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001293/0.001293, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001332/0.001332, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.467/1.467, 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.807/2.807, allocations: 476.7 MB / 0.7678 GB, free: 9.535 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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.00219/0.00219, allocations: 59.91 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8985/0.9007, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01543/0.9162, allocations: 11.07 MB / 1.29 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.9337, allocations: 8.928 MB / 1.298 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.9363, allocations: 78.22 kB / 1.299 GB, free: 14.01 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005375/0.9416, allocations: 1.695 MB / 1.3 GB, free: 13 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007689/0.9493, allocations: 1.569 MB / 1.302 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.9522, allocations: 0.669 MB / 1.302 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006062/0.9583, allocations: 2.279 MB / 1.305 GB, free: 10.64 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.9609, allocations: 1.112 MB / 1.306 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.964, allocations: 1.021 MB / 1.307 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.9666, allocations: 1.073 MB / 1.308 GB, free: 9.199 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004119/0.9671, allocations: 139.2 kB / 1.308 GB, free: 9.199 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.9696, allocations: 0.816 MB / 1.309 GB, free: 8.953 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009022/0.9705, allocations: 0.5831 MB / 1.309 GB, free: 8.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.9721, allocations: 0.8886 MB / 1.31 GB, free: 8.133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.9775, allocations: 2.576 MB / 1.313 GB, free: 7.223 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.9775, allocations: 1.281 kB / 1.313 GB, free: 7.223 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.556e-06/0.9775, allocations: 4.797 kB / 1.313 GB, free: 7.219 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.089e-05/0.9776, allocations: 0 / 1.313 GB, free: 7.219 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005298/0.9829, allocations: 2.067 MB / 1.315 GB, free: 5.875 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.9829, allocations: 9.969 kB / 1.315 GB, free: 5.875 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.515e-05/0.983, allocations: 31.2 kB / 1.315 GB, free: 5.871 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003169/0.9833, allocations: 191.3 kB / 1.315 GB, free: 5.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.9954, allocations: 2.068 MB / 1.317 GB, free: 5.605 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/0.9987, allocations: 1.218 MB / 1.318 GB, free: 4.754 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.9988, allocations: 85.14 kB / 1.318 GB, free: 4.715 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003996/0.9992, allocations: 118 kB / 1.318 GB, free: 4.676 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006694/1.006, allocations: 2.48 MB / 1.321 GB, free: 3.059 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.637e-05/1.006, allocations: 12.02 kB / 1.321 GB, free: 3.051 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/1.006, allocations: 51.12 kB / 1.321 GB, free: 3.016 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003862/1.007, allocations: 130.1 kB / 1.321 GB, free: 2.973 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008306/1.015, allocations: 2.538 MB / 1.323 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/1.032, allocations: 10.05 MB / 1.333 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00659/1.038, allocations: 1.921 MB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/1.041, allocations: 0.9385 MB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/1.041, allocations: 5.75 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/1.041, allocations: 42.16 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 3.025e-06/1.041, allocations: 0.875 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.033/1.074, allocations: 8.716 MB / 1.345 GB, free: 3.102 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/1.075, allocations: 63.88 kB / 1.345 GB, free: 3.035 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/1.077, allocations: 1.099 MB / 1.346 GB, free: 2.426 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/1.077, allocations: 41.89 kB / 1.346 GB, free: 2.383 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000666/1.077, allocations: 0.7549 MB / 1.346 GB, free: 1.711 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/1.078, allocations: 288.5 kB / 1.347 GB, free: 1.461 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004562/1.078, allocations: 204.3 kB / 1.347 GB, free: 1.344 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.078, allocations: 343.4 kB / 1.347 GB, free: 1.012 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/1.082, allocations: 1.073 MB / 1.348 GB, free: 476 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/1.085, allocations: 1.302 MB / 1.35 GB, free: 15.63 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006453/1.091, allocations: 2.382 MB / 1.352 GB, free: 14.22 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.091, allocations: 6.344 kB / 1.352 GB, free: 14.22 MB / 1.045 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009611/1.101, allocations: 3.256 MB / 1.355 GB, free: 12.44 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/1.101, allocations: 8.969 kB / 1.355 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.101, allocations: 10.59 kB / 1.355 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/1.104, allocations: 0.797 MB / 1.356 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/1.106, allocations: 408.2 kB / 1.356 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/1.124, allocations: 15.92 MB / 1.372 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/1.126, allocations: 291.5 kB / 1.372 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/1.127, allocations: 55.97 kB / 1.372 GB, free: 10.55 MB / 1.061 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0009598/1.128, allocations: 402 kB / 1.373 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/1.128, allocations: 151.1 kB / 1.373 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009377/1.137, allocations: 3.171 MB / 1.376 GB, free: 6.793 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/1.137, allocations: 12 kB / 1.376 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.137, allocations: 4 kB / 1.376 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.137, allocations: 11.92 kB / 1.376 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/1.15, allocations: 4.886 MB / 1.381 GB, free: 1.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.15, allocations: 8 kB / 1.381 GB, free: 1.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/1.152, allocations: 351.4 kB / 1.381 GB, free: 1.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/1.154, allocations: 0.6976 MB / 1.382 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.155, allocations: 31.97 kB / 1.382 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/1.171, allocations: 15.55 MB / 1.397 GB, free: 15.98 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.171, allocations: 3.938 kB / 1.397 GB, free: 15.97 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008961/1.18, allocations: 3.021 MB / 1.4 GB, free: 12.87 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.181, allocations: 392 kB / 1.4 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/1.182, allocations: 19.94 kB / 1.4 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/1.184, allocations: 291.5 kB / 1.4 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/1.184, allocations: 80.48 kB / 1.4 GB, free: 12.08 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.184, allocations: 35.97 kB / 1.401 GB, free: 12.05 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001083/1.185, allocations: 0.7405 MB / 1.401 GB, free: 11.3 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.185, allocations: 0 / 1.401 GB, free: 11.3 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0019/1.187, allocations: 439.9 kB / 1.402 GB, free: 10.88 MB / 1.092 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008947/1.196, allocations: 3.592 MB / 1.405 GB, free: 7.195 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.009412/1.205, allocations: 3.515 MB / 1.409 GB, free: 3.582 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.205, allocations: 0 / 1.409 GB, free: 3.582 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.005546/1.211, allocations: 2.324 MB / 1.411 GB, free: 1.152 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.214, allocations: 0.521 MB / 1.411 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03853/1.252, allocations: 15.82 MB / 1.427 GB, free: 400 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/1.253, allocations: 1.384 MB / 1.428 GB, free: 14.98 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001528/1.255, allocations: 371.8 kB / 1.429 GB, free: 14.61 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009385/1.256, allocations: 0.6047 MB / 1.429 GB, free: 14 MB / 1.123 GB Notification: Performance of SimCode: time 1.392e-06/1.256, allocations: 0 / 1.429 GB, free: 14 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0997/1.356, allocations: 41.81 MB / 1.47 GB, free: 4.801 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/16.45, allocations: 18.73 kB / 1.47 GB, free: 4.785 MB / 1.154 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.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: 23.01152441900922]