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.001646/0.001646, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002017/0.002017, allocations: 219 kB / 23.03 MB, free: 4.922 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.071/3.071, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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.001947/0.001947, allocations: 65.98 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.297, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009679/0.3066, allocations: 6.548 MB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005476/0.3121, allocations: 3.067 MB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.3128, allocations: 43.56 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.3155, allocations: 0.9543 MB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.3168, allocations: 0.5206 MB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.3179, allocations: 439 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.3193, allocations: 1.236 MB / 1.339 GB, free: 4.668 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008142/0.3201, allocations: 0.5376 MB / 1.34 GB, free: 4.121 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006626/0.3208, allocations: 494.3 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007804/0.3216, allocations: 0.5564 MB / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.3217, allocations: 64 kB / 1.341 GB, free: 3.016 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006276/0.3223, allocations: 343.3 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.3226, allocations: 323 kB / 1.341 GB, free: 2.363 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004302/0.3231, allocations: 374.3 kB / 1.342 GB, free: 1.996 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.3245, allocations: 1.241 MB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3245, allocations: 0 / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3245, allocations: 4 kB / 1.343 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.3245, allocations: 0 / 1.343 GB, free: 0.7461 MB / 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.002049/0.3266, allocations: 1.108 MB / 1.344 GB, free: 15.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3266, allocations: 12.03 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.164e-05/0.3267, allocations: 21.44 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.3268, allocations: 126.7 kB / 1.344 GB, free: 15.44 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.3283, allocations: 236.1 kB / 1.344 GB, free: 15.21 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/0.3293, allocations: 0.5282 MB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.3294, allocations: 53.67 kB / 1.345 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.3295, allocations: 68.36 kB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.3312, allocations: 1.336 MB / 1.346 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.3312, allocations: 7.953 kB / 1.346 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/0.3313, allocations: 35.91 kB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.3314, allocations: 81.27 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.3326, allocations: 0.7543 MB / 1.347 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005021/0.3376, allocations: 4.647 MB / 1.352 GB, free: 7.336 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.3386, allocations: 0.5086 MB / 1.352 GB, free: 6.812 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.3391, allocations: 286 kB / 1.352 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.3391, allocations: 4.438 kB / 1.352 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.3391, allocations: 39 kB / 1.353 GB, free: 6.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.3391, allocations: 0 / 1.353 GB, free: 6.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003775/0.3429, allocations: 1.686 MB / 1.354 GB, free: 4.777 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3429, allocations: 55.84 kB / 1.354 GB, free: 4.711 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.3436, allocations: 0.5665 MB / 1.355 GB, free: 4.137 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3436, allocations: 29.7 kB / 1.355 GB, free: 4.102 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.3439, allocations: 428.1 kB / 1.355 GB, free: 3.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.3441, allocations: 182.4 kB / 1.355 GB, free: 3.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.3443, allocations: 134.6 kB / 1.356 GB, free: 3.363 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3444, allocations: 378.7 kB / 1.356 GB, free: 2.984 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.3449, allocations: 273.8 kB / 1.356 GB, free: 2.719 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.3455, allocations: 493.4 kB / 1.357 GB, free: 2.137 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.3465, allocations: 0.8122 MB / 1.357 GB, free: 1.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3465, allocations: 4 kB / 1.357 GB, free: 1.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00185/0.3484, allocations: 1.078 MB / 1.358 GB, free: 128 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3484, allocations: 11.94 kB / 1.358 GB, free: 116 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3484, allocations: 8 kB / 1.358 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009466/0.3494, allocations: 279.6 kB / 1.359 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.3499, allocations: 123.8 kB / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0069/0.3568, allocations: 6.686 MB / 1.365 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.3574, allocations: 35.97 kB / 1.365 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.3574, allocations: 28 kB / 1.365 GB, free: 8.488 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.0003687/0.3578, allocations: 261.6 kB / 1.366 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.3579, allocations: 75.53 kB / 1.366 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.3595, allocations: 0.8847 MB / 1.367 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3595, allocations: 4 kB / 1.367 GB, free: 7.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.3595, allocations: 8 kB / 1.367 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3595, allocations: 0 / 1.367 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.3622, allocations: 1.606 MB / 1.368 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3622, allocations: 4 kB / 1.368 GB, free: 5.531 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.3624, allocations: 60.08 kB / 1.368 GB, free: 5.473 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007992/0.3632, allocations: 271.2 kB / 1.369 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.3633, allocations: 15.94 kB / 1.369 GB, free: 5.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006736/0.37, allocations: 6.666 MB / 1.375 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.37, allocations: 4.031 kB / 1.375 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.3716, allocations: 0.9763 MB / 1.376 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.3719, allocations: 119.5 kB / 1.376 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/0.3719, allocations: 19.88 kB / 1.376 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.3723, allocations: 28.03 kB / 1.376 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.3724, allocations: 51.84 kB / 1.376 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.3725, allocations: 16 kB / 1.376 GB, free: 12.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004722/0.3729, allocations: 387.1 kB / 1.377 GB, free: 12.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3729, allocations: 0 / 1.377 GB, free: 12.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008043/0.3737, allocations: 224 kB / 1.377 GB, free: 12.21 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.001865/0.3756, allocations: 1.54 MB / 1.378 GB, free: 10.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.3777, allocations: 1.236 MB / 1.38 GB, free: 9.324 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3777, allocations: 0 / 1.38 GB, free: 9.324 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.3789, allocations: 0.8658 MB / 1.38 GB, free: 8.406 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3799, allocations: 219.4 kB / 1.381 GB, free: 8.199 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008832/0.3888, allocations: 6.41 MB / 1.387 GB, free: 1.449 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.3892, allocations: 417 kB / 1.387 GB, free: 1.016 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003713/0.3896, allocations: 126 kB / 1.387 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.3899, allocations: 251.4 kB / 1.388 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of SimCode: time 7.61e-07/0.3899, allocations: 4 kB / 1.388 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0842/0.4741, allocations: 19.19 MB / 1.406 GB, free: 13.92 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.04, allocations: 9.984 kB / 1.406 GB, free: 13.91 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.66376059106551]