Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001661/0.001661, allocations: 117.4 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.00198/0.00198, allocations: 214.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.531/1.531, 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 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.025/3.025, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] 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.ACLine_R,fileNamePrefix="Buildings_12_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_12_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.002153/0.002153, allocations: 71.89 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8827/0.8849, allocations: 176.1 MB / 1.321 GB, free: 24.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007057/0.892, allocations: 6.905 MB / 1.328 GB, free: 19.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005238/0.8972, allocations: 3.14 MB / 1.331 GB, free: 17.74 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009827/0.8982, allocations: 44.28 kB / 1.331 GB, free: 17.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.901, allocations: 0.9633 MB / 1.332 GB, free: 17.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.9029, allocations: 0.5188 MB / 1.333 GB, free: 16.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.9042, allocations: 445.6 kB / 1.333 GB, free: 16.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.906, allocations: 1.23 MB / 1.334 GB, free: 16.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.9071, allocations: 0.5339 MB / 1.335 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.9082, allocations: 499.5 kB / 1.335 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.9092, allocations: 0.544 MB / 1.336 GB, free: 15.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.9094, allocations: 66.75 kB / 1.336 GB, free: 15.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.9105, allocations: 387.8 kB / 1.336 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000444/0.911, allocations: 323.8 kB / 1.337 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.9115, allocations: 448.3 kB / 1.337 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.9134, allocations: 1.223 MB / 1.338 GB, free: 14.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9134, allocations: 1.375 kB / 1.338 GB, free: 14.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9134, allocations: 0 / 1.338 GB, free: 14.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.859e-05/0.9135, allocations: 0 / 1.338 GB, free: 14.45 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002097/0.9155, allocations: 1.196 MB / 1.339 GB, free: 13.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.9156, allocations: 13.45 kB / 1.339 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.429e-05/0.9156, allocations: 17.94 kB / 1.339 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.9158, allocations: 135.1 kB / 1.34 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.9174, allocations: 243.6 kB / 1.34 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009605/0.9184, allocations: 0.6048 MB / 1.34 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.9184, allocations: 51.39 kB / 1.34 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.9185, allocations: 66.17 kB / 1.341 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.92, allocations: 1.092 MB / 1.342 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.92, allocations: 3.188 kB / 1.342 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.543e-05/0.9201, allocations: 29.97 kB / 1.342 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.9203, allocations: 83.88 kB / 1.342 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.9214, allocations: 0.754 MB / 1.342 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004636/0.9261, allocations: 5.889 MB / 1.348 GB, free: 7.062 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.9271, allocations: 0.5094 MB / 1.349 GB, free: 6.867 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.9275, allocations: 288.2 kB / 1.349 GB, free: 6.762 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.9275, allocations: 5.453 kB / 1.349 GB, free: 6.762 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.9276, allocations: 42.16 kB / 1.349 GB, free: 6.715 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 2.334e-06/0.9276, allocations: 1 kB / 1.349 GB, free: 6.715 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.004018/0.9316, allocations: 1.984 MB / 1.351 GB, free: 5.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.9316, allocations: 57 kB / 1.351 GB, free: 5.602 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007722/0.9324, allocations: 0.565 MB / 1.352 GB, free: 5.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.9324, allocations: 35.89 kB / 1.352 GB, free: 5.301 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.9327, allocations: 431.1 kB / 1.352 GB, free: 4.957 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.9328, allocations: 176.6 kB / 1.352 GB, free: 4.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.933, allocations: 124.9 kB / 1.352 GB, free: 4.754 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.9331, allocations: 382.5 kB / 1.353 GB, free: 4.406 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.9336, allocations: 274.6 kB / 1.353 GB, free: 4.309 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005579/0.9341, allocations: 494.5 kB / 1.353 GB, free: 3.941 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.9352, allocations: 0.8111 MB / 1.354 GB, free: 3.398 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.9352, allocations: 2.156 kB / 1.354 GB, free: 3.398 MB / 1.061 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002031/0.9372, allocations: 1.082 MB / 1.355 GB, free: 2.938 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.9372, allocations: 9.094 kB / 1.355 GB, free: 2.938 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.9373, allocations: 6.781 kB / 1.355 GB, free: 2.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009233/0.9382, allocations: 276.6 kB / 1.356 GB, free: 2.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.9387, allocations: 134.4 kB / 1.356 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006843/0.9456, allocations: 7.132 MB / 1.363 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008365/0.9464, allocations: 40.12 kB / 1.363 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.9465, allocations: 28.47 kB / 1.363 GB, free: 12.59 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 (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.0004873/0.9469, allocations: 263.5 kB / 1.363 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.9471, allocations: 77.41 kB / 1.363 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.949, allocations: 0.8828 MB / 1.364 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.949, allocations: 4.062 kB / 1.364 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.949, allocations: 4.125 kB / 1.364 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.949, allocations: 7.125 kB / 1.364 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.9523, allocations: 1.717 MB / 1.366 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.9523, allocations: 2.25 kB / 1.366 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.9526, allocations: 61.19 kB / 1.366 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008495/0.9534, allocations: 269.9 kB / 1.366 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.9535, allocations: 11.75 kB / 1.366 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007619/0.9611, allocations: 7.125 MB / 1.373 GB, free: 4.746 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9611, allocations: 2.594 kB / 1.373 GB, free: 4.746 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.9629, allocations: 0.9814 MB / 1.374 GB, free: 4.223 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.9633, allocations: 200.1 kB / 1.374 GB, free: 4.066 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.96e-05/0.9634, allocations: 11.45 kB / 1.374 GB, free: 4.059 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.9638, allocations: 31.05 kB / 1.374 GB, free: 4.051 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.964, allocations: 36.75 kB / 1.374 GB, free: 4.047 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.964, allocations: 19.25 kB / 1.374 GB, free: 4.039 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005302/0.9645, allocations: 393.1 kB / 1.374 GB, free: 3.863 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9645, allocations: 0 / 1.374 GB, free: 3.863 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009191/0.9655, allocations: 225.7 kB / 1.375 GB, free: 3.84 MB / 1.076 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.001959/0.9674, allocations: 1.536 MB / 1.376 GB, free: 2.789 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.9696, allocations: 1.243 MB / 1.377 GB, free: 2.051 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9696, allocations: 1.062 kB / 1.377 GB, free: 2.051 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.971, allocations: 0.8614 MB / 1.378 GB, free: 1.457 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.9721, allocations: 217.8 kB / 1.378 GB, free: 1.375 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.9824, allocations: 6.411 MB / 1.385 GB, free: 13.66 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/0.9832, allocations: 1.009 MB / 1.386 GB, free: 12.93 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005524/0.9838, allocations: 123.5 kB / 1.386 GB, free: 12.9 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/0.9841, allocations: 255.4 kB / 1.386 GB, free: 12.71 MB / 1.092 GB Notification: Performance of SimCode: time 7.81e-07/0.9841, allocations: 4 kB / 1.386 GB, free: 12.7 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05931/1.043, allocations: 17.67 MB / 1.403 GB, free: 9.199 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13.03, allocations: 2.594 kB / 1.403 GB, free: 9.199 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.326807198987808]