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.001813/0.001813, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002248/0.002248, allocations: 217 kB / 23.04 MB, free: 5.074 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.093/3.093, allocations: 0.49 GB / 0.7959 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 177] 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.001866/0.001866, allocations: 63.66 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3002, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008988/0.3092, allocations: 7.081 MB / 1.334 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005401/0.3146, allocations: 3.231 MB / 1.337 GB, free: 7.633 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005463/0.3152, allocations: 39.62 kB / 1.337 GB, free: 7.594 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.3177, allocations: 0.9979 MB / 1.338 GB, free: 6.594 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.319, allocations: 0.509 MB / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3201, allocations: 456.4 kB / 1.339 GB, free: 5.637 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.3215, allocations: 1.232 MB / 1.34 GB, free: 4.398 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008034/0.3223, allocations: 0.5451 MB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006611/0.3229, allocations: 494.2 kB / 1.341 GB, free: 3.359 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007273/0.3237, allocations: 0.5487 MB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.583e-05/0.3238, allocations: 68 kB / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006896/0.3244, allocations: 387.2 kB / 1.342 GB, free: 2.363 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.3247, allocations: 311.1 kB / 1.342 GB, free: 2.059 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.3252, allocations: 457.7 kB / 1.343 GB, free: 1.609 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.3265, allocations: 1.226 MB / 1.344 GB, free: 388 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3265, allocations: 0 / 1.344 GB, free: 388 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3265, allocations: 4 kB / 1.344 GB, free: 384 kB / 1.029 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.3265, allocations: 4 kB / 1.344 GB, free: 380 kB / 1.029 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.001955/0.3285, allocations: 1.123 MB / 1.345 GB, free: 15.21 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3285, allocations: 12.03 kB / 1.345 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.071e-05/0.3285, allocations: 17.5 kB / 1.345 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.3287, allocations: 114.7 kB / 1.345 GB, free: 15.06 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.3302, allocations: 240.1 kB / 1.345 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009478/0.3312, allocations: 0.536 MB / 1.346 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.3312, allocations: 45.69 kB / 1.346 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3313, allocations: 68.36 kB / 1.346 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.3328, allocations: 1.081 MB / 1.347 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.3328, allocations: 11.89 kB / 1.347 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.3329, allocations: 31.98 kB / 1.347 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/0.3331, allocations: 85.25 kB / 1.347 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.3343, allocations: 0.7543 MB / 1.348 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/0.3397, allocations: 5.807 MB / 1.353 GB, free: 5.859 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.3407, allocations: 0.5125 MB / 1.354 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.3411, allocations: 282.9 kB / 1.354 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.3412, allocations: 4.438 kB / 1.354 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3412, allocations: 42.98 kB / 1.354 GB, free: 5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/0.3412, allocations: 0 / 1.354 GB, free: 5 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003812/0.345, allocations: 1.679 MB / 1.356 GB, free: 3.305 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3451, allocations: 55.84 kB / 1.356 GB, free: 3.238 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000652/0.3457, allocations: 0.5743 MB / 1.357 GB, free: 2.656 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.3458, allocations: 33.7 kB / 1.357 GB, free: 2.617 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.3461, allocations: 432.1 kB / 1.357 GB, free: 2.191 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.3462, allocations: 178.4 kB / 1.357 GB, free: 2.016 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.3464, allocations: 126.6 kB / 1.357 GB, free: 1.887 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3466, allocations: 382.6 kB / 1.358 GB, free: 1.504 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.347, allocations: 277.8 kB / 1.358 GB, free: 1.234 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005697/0.3475, allocations: 497.4 kB / 1.358 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3486, allocations: 0.8084 MB / 1.359 GB, free: 15.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3486, allocations: 4 kB / 1.359 GB, free: 15.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001781/0.3504, allocations: 1.074 MB / 1.36 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3504, allocations: 12.03 kB / 1.36 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3504, allocations: 8 kB / 1.36 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008179/0.3512, allocations: 275.1 kB / 1.361 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.3517, allocations: 127.8 kB / 1.361 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006677/0.3584, allocations: 6.721 MB / 1.367 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.3589, allocations: 39.95 kB / 1.367 GB, free: 6.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.3589, allocations: 28 kB / 1.367 GB, free: 6.969 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 (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.0003384/0.3593, allocations: 253.5 kB / 1.367 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3594, allocations: 83.47 kB / 1.368 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.361, allocations: 0.8809 MB / 1.368 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.361, allocations: 4 kB / 1.368 GB, free: 5.715 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.361, allocations: 4 kB / 1.368 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.361, allocations: 3.984 kB / 1.368 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.3635, allocations: 1.696 MB / 1.37 GB, free: 3.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3635, allocations: 0 / 1.37 GB, free: 3.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.3638, allocations: 59.95 kB / 1.37 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007423/0.3645, allocations: 283.6 kB / 1.37 GB, free: 3.582 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.3646, allocations: 8 kB / 1.37 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006566/0.3711, allocations: 6.708 MB / 1.377 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3711, allocations: 3.984 kB / 1.377 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.3727, allocations: 0.9725 MB / 1.378 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.373, allocations: 115.5 kB / 1.378 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.373, allocations: 19.92 kB / 1.378 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.3734, allocations: 31.97 kB / 1.378 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3735, allocations: 43.86 kB / 1.378 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.3735, allocations: 16 kB / 1.378 GB, free: 11.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004682/0.374, allocations: 391 kB / 1.379 GB, free: 10.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.374, allocations: 0 / 1.379 GB, free: 10.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007668/0.3748, allocations: 228 kB / 1.379 GB, free: 10.56 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.001851/0.3766, allocations: 1.537 MB / 1.38 GB, free: 8.969 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.3786, allocations: 1.247 MB / 1.381 GB, free: 7.676 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3786, allocations: 0 / 1.381 GB, free: 7.676 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.3799, allocations: 0.862 MB / 1.382 GB, free: 6.762 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/0.3808, allocations: 225.9 kB / 1.383 GB, free: 6.547 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/0.3896, allocations: 6.396 MB / 1.389 GB, free: 15.81 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.3902, allocations: 1.017 MB / 1.39 GB, free: 14.77 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003814/0.3906, allocations: 126 kB / 1.39 GB, free: 14.64 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.391, allocations: 259.3 kB / 1.39 GB, free: 14.39 MB / 1.092 GB Notification: Performance of SimCode: time 7.01e-07/0.391, allocations: 0 / 1.39 GB, free: 14.39 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.4432, allocations: 18.2 MB / 1.408 GB, free: 12.51 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.91, allocations: 9.844 kB / 1.408 GB, free: 12.51 MB / 1.107 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: 19.52679040597286]