Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001261/0.001261, 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.001422/0.001422, allocations: 219.3 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.139/3.139, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001966/0.001966, allocations: 65.8 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3132, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009975/0.3231, allocations: 6.545 MB / 1.352 GB, free: 9.406 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005727/0.3289, allocations: 3.06 MB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006558/0.3295, allocations: 39.62 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.3322, allocations: 0.9513 MB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.3336, allocations: 0.5206 MB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.3348, allocations: 445.9 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.3363, allocations: 1.232 MB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008742/0.3372, allocations: 0.5373 MB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007256/0.3379, allocations: 0.4905 MB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007974/0.3387, allocations: 0.5526 MB / 1.359 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.3389, allocations: 68 kB / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000668/0.3395, allocations: 347.2 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.3399, allocations: 319.1 kB / 1.36 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004671/0.3404, allocations: 378.2 kB / 1.36 GB, free: 480 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.3418, allocations: 1.23 MB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3418, allocations: 0 / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3418, allocations: 0 / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.865e-05/0.3418, allocations: 0 / 1.362 GB, free: 15.23 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.00207/0.3439, allocations: 1.119 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.344, allocations: 12.02 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.913e-05/0.344, allocations: 17.5 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.3441, allocations: 126.7 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.3458, allocations: 240.1 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009827/0.3468, allocations: 0.5399 MB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.3468, allocations: 49.61 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.3469, allocations: 64.38 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.3487, allocations: 1.34 MB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.3487, allocations: 3.938 kB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.617e-05/0.3488, allocations: 39.98 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.3489, allocations: 85.25 kB / 1.365 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.3502, allocations: 0.7465 MB / 1.366 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005572/0.3557, allocations: 4.643 MB / 1.37 GB, free: 5.809 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.3568, allocations: 0.5047 MB / 1.371 GB, free: 5.293 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.3572, allocations: 290 kB / 1.371 GB, free: 5.008 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.3573, allocations: 4.438 kB / 1.371 GB, free: 5.004 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.3573, allocations: 39 kB / 1.371 GB, free: 4.957 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 3.076e-06/0.3573, allocations: 0 / 1.371 GB, free: 4.957 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.00387/0.3612, allocations: 1.686 MB / 1.373 GB, free: 3.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3612, allocations: 59.84 kB / 1.373 GB, free: 3.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007275/0.362, allocations: 0.5665 MB / 1.373 GB, free: 2.605 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.362, allocations: 33.7 kB / 1.373 GB, free: 2.566 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.3623, allocations: 432 kB / 1.374 GB, free: 2.137 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.3625, allocations: 174.5 kB / 1.374 GB, free: 1.965 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.3627, allocations: 130.6 kB / 1.374 GB, free: 1.832 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3629, allocations: 378.7 kB / 1.375 GB, free: 1.453 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.3634, allocations: 269.8 kB / 1.375 GB, free: 1.191 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.364, allocations: 497 kB / 1.375 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.3652, allocations: 0.8083 MB / 1.376 GB, free: 15.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.3652, allocations: 4 kB / 1.376 GB, free: 15.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001935/0.3671, allocations: 1.082 MB / 1.377 GB, free: 14.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3671, allocations: 8 kB / 1.377 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3671, allocations: 7.984 kB / 1.377 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008779/0.368, allocations: 283.3 kB / 1.377 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.3685, allocations: 123.8 kB / 1.378 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/0.3754, allocations: 6.67 MB / 1.384 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.3759, allocations: 39.95 kB / 1.384 GB, free: 7.004 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.376, allocations: 28 kB / 1.384 GB, free: 6.977 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.0003711/0.3764, allocations: 262.5 kB / 1.384 GB, free: 6.711 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.3765, allocations: 83.47 kB / 1.384 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.3781, allocations: 0.8808 MB / 1.385 GB, free: 5.723 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.3781, allocations: 8.031 kB / 1.385 GB, free: 5.715 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3781, allocations: 4.188 kB / 1.385 GB, free: 5.711 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3781, allocations: 0 / 1.385 GB, free: 5.711 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.3807, allocations: 1.626 MB / 1.387 GB, free: 4.004 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3807, allocations: 0 / 1.387 GB, free: 4.004 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.381, allocations: 55.95 kB / 1.387 GB, free: 3.949 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007848/0.3818, allocations: 275.5 kB / 1.387 GB, free: 3.668 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.3818, allocations: 8 kB / 1.387 GB, free: 3.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006699/0.3885, allocations: 6.678 MB / 1.394 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/0.3885, allocations: 4.031 kB / 1.394 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.3902, allocations: 0.9763 MB / 1.395 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.3906, allocations: 115.5 kB / 1.395 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3907, allocations: 15.94 kB / 1.395 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.3911, allocations: 27.95 kB / 1.395 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.3912, allocations: 47.86 kB / 1.395 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.3913, allocations: 20.06 kB / 1.395 GB, free: 11.27 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004776/0.3917, allocations: 387.1 kB / 1.395 GB, free: 10.89 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3917, allocations: 0 / 1.395 GB, free: 10.89 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008569/0.3926, allocations: 228 kB / 1.395 GB, free: 10.67 MB / 1.092 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.001949/0.3945, allocations: 1.533 MB / 1.397 GB, free: 9.086 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.3966, allocations: 1.24 MB / 1.398 GB, free: 7.797 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3966, allocations: 0 / 1.398 GB, free: 7.797 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.3979, allocations: 0.8581 MB / 1.399 GB, free: 6.887 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.3989, allocations: 220.5 kB / 1.399 GB, free: 6.68 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009219/0.4081, allocations: 6.417 MB / 1.406 GB, free: 15.92 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.4086, allocations: 416.8 kB / 1.406 GB, free: 15.49 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003881/0.409, allocations: 126 kB / 1.406 GB, free: 15.36 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.4094, allocations: 255.3 kB / 1.406 GB, free: 15.11 MB / 1.107 GB Notification: Performance of SimCode: time 1.593e-06/0.4094, allocations: 0 / 1.406 GB, free: 15.11 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/0.4633, allocations: 19.18 MB / 1.425 GB, free: 12.36 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.02, allocations: 11.86 kB / 1.425 GB, free: 12.35 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.678704979014583]