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.001577/0.001577, 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.001957/0.001957, allocations: 217 kB / 22.25 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.992 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.703/2.703, allocations: 476.7 MB / 0.7707 GB, free: 4.234 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001982/0.001982, allocations: 66.12 kB / 1.117 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2859, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01532/0.3013, allocations: 11.33 MB / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.3166, allocations: 9.138 MB / 1.303 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.3183, allocations: 91.19 kB / 1.303 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005205/0.3235, allocations: 1.745 MB / 1.305 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005436/0.3289, allocations: 1.566 MB / 1.307 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.3312, allocations: 0.6909 MB / 1.307 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003757/0.335, allocations: 2.283 MB / 1.31 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.3372, allocations: 1.16 MB / 1.311 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.3396, allocations: 1.184 MB / 1.312 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.3414, allocations: 0.9959 MB / 1.313 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.3419, allocations: 136 kB / 1.313 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.3438, allocations: 0.8188 MB / 1.314 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008448/0.3447, allocations: 0.5762 MB / 1.314 GB, free: 11.87 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.3465, allocations: 0.8706 MB / 1.315 GB, free: 10.99 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004484/0.351, allocations: 2.561 MB / 1.318 GB, free: 8.422 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.351, allocations: 4 kB / 1.318 GB, free: 8.418 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/0.351, allocations: 0 / 1.318 GB, free: 8.418 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.256e-05/0.3511, allocations: 4 kB / 1.318 GB, free: 8.414 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.004884/0.356, allocations: 1.993 MB / 1.32 GB, free: 6.383 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.356, allocations: 8.031 kB / 1.32 GB, free: 6.375 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003612/0.3564, allocations: 190.1 kB / 1.32 GB, free: 6.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.367, allocations: 2.051 MB / 1.322 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/0.37, allocations: 1.126 MB / 1.323 GB, free: 2.949 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.3701, allocations: 82.7 kB / 1.323 GB, free: 2.867 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000404/0.3705, allocations: 119.9 kB / 1.323 GB, free: 2.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006051/0.3766, allocations: 2.442 MB / 1.326 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.919e-05/0.3766, allocations: 11.89 kB / 1.326 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/0.3769, allocations: 48 kB / 1.326 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003938/0.3773, allocations: 130.1 kB / 1.326 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007173/0.3844, allocations: 2.545 MB / 1.328 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01493/0.3994, allocations: 9.98 MB / 1.338 GB, free: 2.801 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00593/0.4053, allocations: 1.854 MB / 1.34 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002715/0.408, allocations: 0.9504 MB / 1.341 GB, free: 15.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.4081, allocations: 4.438 kB / 1.341 GB, free: 15.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/0.4081, allocations: 39 kB / 1.341 GB, free: 15.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/0.4081, allocations: 0 / 1.341 GB, free: 15.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=81): time 0.03087/0.439, allocations: 9.121 MB / 1.35 GB, free: 6.777 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.439, allocations: 64 kB / 1.35 GB, free: 6.699 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.4407, allocations: 1.093 MB / 1.351 GB, free: 5.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.4408, allocations: 41.7 kB / 1.351 GB, free: 5.543 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.4415, allocations: 0.7512 MB / 1.352 GB, free: 4.785 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/0.4418, allocations: 301.5 kB / 1.352 GB, free: 4.488 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/0.4422, allocations: 198.5 kB / 1.352 GB, free: 4.285 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4424, allocations: 345.9 kB / 1.352 GB, free: 3.941 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/0.4453, allocations: 1.079 MB / 1.353 GB, free: 2.863 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/0.4482, allocations: 1.321 MB / 1.355 GB, free: 1.449 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005886/0.4541, allocations: 2.397 MB / 1.357 GB, free: 14.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.4541, allocations: 7.938 kB / 1.357 GB, free: 14.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008694/0.4628, allocations: 3.289 MB / 1.36 GB, free: 11.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.4629, allocations: 8 kB / 1.36 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.4629, allocations: 8 kB / 1.36 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/0.466, allocations: 0.8576 MB / 1.361 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.468, allocations: 415.3 kB / 1.361 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/0.4871, allocations: 15.33 MB / 1.376 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.4893, allocations: 295.5 kB / 1.377 GB, free: 9.777 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.4895, allocations: 47.97 kB / 1.377 GB, free: 9.73 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,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.0009875/0.4905, allocations: 401.5 kB / 1.377 GB, free: 9.328 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/0.4909, allocations: 151.1 kB / 1.377 GB, free: 9.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008955/0.4999, allocations: 3.214 MB / 1.38 GB, free: 5.926 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4999, allocations: 8 kB / 1.38 GB, free: 5.918 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/0.4999, allocations: 8 kB / 1.38 GB, free: 5.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.4999, allocations: 3.984 kB / 1.38 GB, free: 5.906 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.5123, allocations: 4.912 MB / 1.385 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.5123, allocations: 4 kB / 1.385 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.5141, allocations: 351.4 kB / 1.386 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003001/0.5171, allocations: 0.776 MB / 1.386 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/0.5172, allocations: 27.97 kB / 1.386 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/0.537, allocations: 14.95 MB / 1.401 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.537, allocations: 4.031 kB / 1.401 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00931/0.5463, allocations: 3.071 MB / 1.404 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.5475, allocations: 318.8 kB / 1.404 GB, free: 12.36 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/0.5479, allocations: 20.14 kB / 1.404 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/0.5501, allocations: 303.4 kB / 1.405 GB, free: 12.04 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.5504, allocations: 84.44 kB / 1.405 GB, free: 11.96 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/0.5506, allocations: 35.97 kB / 1.405 GB, free: 11.93 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001423/0.552, allocations: 0.7444 MB / 1.405 GB, free: 11.18 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.552, allocations: 0 / 1.405 GB, free: 11.18 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002056/0.5541, allocations: 440 kB / 1.406 GB, free: 10.75 MB / 1.107 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.009367/0.5634, allocations: 3.627 MB / 1.409 GB, free: 7.035 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.009352/0.5728, allocations: 3.546 MB / 1.413 GB, free: 3.387 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.5728, allocations: 4 kB / 1.413 GB, free: 3.383 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005603/0.5784, allocations: 2.34 MB / 1.415 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.5811, allocations: 0.5232 MB / 1.416 GB, free: 448 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04001/0.6212, allocations: 16.25 MB / 1.432 GB, free: 15.76 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.6227, allocations: 1.392 MB / 1.433 GB, free: 14.34 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00157/0.6243, allocations: 379.8 kB / 1.433 GB, free: 13.96 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.6254, allocations: 0.6047 MB / 1.434 GB, free: 13.36 MB / 1.139 GB Notification: Performance of SimCode: time 1.092e-06/0.6254, allocations: 4 kB / 1.434 GB, free: 13.35 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.698/2.323, allocations: 43.1 MB / 1.476 GB, free: 2.836 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.06/19.38, allocations: 4 kB / 1.476 GB, free: 2.832 MB / 1.17 GB " [Timeout remaining time 280] (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: 26.080453203059733]