Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.00158/0.00158, allocations: 116.7 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.001859/0.001859, allocations: 209.6 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.856/2.856, allocations: 0.49 GB / 0.7923 GB, free: 1.445 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,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.002384/0.002384, allocations: 68.08 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9577/0.9601, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01378/0.9738, allocations: 14.26 MB / 1.335 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.9878, allocations: 9.549 MB / 1.345 GB, free: 8.535 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.9895, allocations: 78.12 kB / 1.345 GB, free: 8.492 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004444/0.9939, allocations: 1.696 MB / 1.346 GB, free: 7.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.9992, allocations: 1.574 MB / 1.348 GB, free: 6.543 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/1.001, allocations: 0.7562 MB / 1.349 GB, free: 6.152 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003631/1.005, allocations: 2.53 MB / 1.351 GB, free: 4.973 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/1.007, allocations: 1.129 MB / 1.352 GB, free: 4.414 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/1.009, allocations: 1.087 MB / 1.353 GB, free: 3.969 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002288/1.011, allocations: 1.208 MB / 1.355 GB, free: 3.477 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005991/1.012, allocations: 164.4 kB / 1.355 GB, free: 3.477 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/1.014, allocations: 0.8051 MB / 1.355 GB, free: 3.246 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/1.015, allocations: 0.6359 MB / 1.356 GB, free: 2.941 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/1.016, allocations: 0.9399 MB / 1.357 GB, free: 2.363 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004/1.02, allocations: 2.769 MB / 1.36 GB, free: 1.395 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.02, allocations: 0 / 1.36 GB, free: 1.395 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/1.02, allocations: 0 / 1.36 GB, free: 1.395 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.28e-05/1.02, allocations: 1.375 kB / 1.36 GB, free: 1.395 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004804/1.025, allocations: 2.187 MB / 1.362 GB, free: 28 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.025, allocations: 14.94 kB / 1.362 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.741e-05/1.025, allocations: 36.25 kB / 1.362 GB, free: 16 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003294/1.026, allocations: 193.1 kB / 1.362 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/1.038, allocations: 2.091 MB / 1.364 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/1.042, allocations: 1.304 MB / 1.365 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/1.042, allocations: 93.11 kB / 1.366 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/1.043, allocations: 116.9 kB / 1.366 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00701/1.05, allocations: 2.682 MB / 1.368 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/1.05, allocations: 7.781 kB / 1.368 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/1.05, allocations: 54.95 kB / 1.368 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007394/1.051, allocations: 180.4 kB / 1.368 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008661/1.059, allocations: 2.791 MB / 1.371 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/1.081, allocations: 10.49 MB / 1.381 GB, free: 5.852 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008367/1.09, allocations: 2.45 MB / 1.384 GB, free: 5.078 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004064/1.094, allocations: 1.208 MB / 1.385 GB, free: 4.762 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/1.094, allocations: 9.312 kB / 1.385 GB, free: 4.762 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/1.094, allocations: 48.97 kB / 1.385 GB, free: 4.711 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 4.699e-06/1.094, allocations: 0 / 1.385 GB, free: 4.711 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.05501/1.149, allocations: 13.33 MB / 1.398 GB, free: 15.29 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/1.149, allocations: 65.5 kB / 1.398 GB, free: 15.23 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/1.151, allocations: 1.123 MB / 1.399 GB, free: 14.61 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003316/1.152, allocations: 46.2 kB / 1.399 GB, free: 14.56 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007962/1.153, allocations: 0.7317 MB / 1.4 GB, free: 13.91 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008804/1.153, allocations: 480.3 kB / 1.4 GB, free: 13.5 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008251/1.154, allocations: 258.9 kB / 1.401 GB, free: 13.35 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002088/1.154, allocations: 360.8 kB / 1.401 GB, free: 13.01 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003739/1.158, allocations: 1.343 MB / 1.402 GB, free: 12.32 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003946/1.162, allocations: 1.606 MB / 1.404 GB, free: 11.31 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007973/1.17, allocations: 2.991 MB / 1.407 GB, free: 9.582 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/1.17, allocations: 2.781 kB / 1.407 GB, free: 9.582 MB / 1.092 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01345/1.184, allocations: 4.401 MB / 1.411 GB, free: 7.152 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/1.184, allocations: 10.53 kB / 1.411 GB, free: 7.152 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.184, allocations: 7.031 kB / 1.411 GB, free: 7.152 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00602/1.19, allocations: 1.435 MB / 1.413 GB, free: 6.363 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/1.192, allocations: 437.2 kB / 1.413 GB, free: 6.195 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03326/1.225, allocations: 26.7 MB / 1.439 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/1.229, allocations: 307.5 kB / 1.439 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000498/1.229, allocations: 67.95 kB / 1.439 GB, free: 13.8 MB / 1.123 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001604/1.231, allocations: 431.4 kB / 1.44 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007421/1.231, allocations: 167 kB / 1.44 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/1.246, allocations: 4.41 MB / 1.444 GB, free: 8.738 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/1.246, allocations: 15.94 kB / 1.444 GB, free: 8.723 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.347e-05/1.246, allocations: 15.98 kB / 1.444 GB, free: 8.707 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/1.246, allocations: 7.969 kB / 1.444 GB, free: 8.699 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/1.265, allocations: 6.728 MB / 1.451 GB, free: 1.801 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.265, allocations: 4 kB / 1.451 GB, free: 1.797 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/1.267, allocations: 379.5 kB / 1.451 GB, free: 1.426 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005554/1.272, allocations: 1.318 MB / 1.453 GB, free: 68 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002937/1.273, allocations: 35.97 kB / 1.453 GB, free: 32 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03223/1.305, allocations: 25.5 MB / 1.477 GB, free: 4.707 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.305, allocations: 7.984 kB / 1.477 GB, free: 4.699 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/1.318, allocations: 4.175 MB / 1.482 GB, free: 436 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.319, allocations: 459.8 kB / 1.482 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006491/1.32, allocations: 24 kB / 1.482 GB, free: 15.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/1.323, allocations: 315.5 kB / 1.482 GB, free: 15.62 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00056/1.323, allocations: 120.7 kB / 1.482 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/1.324, allocations: 51.97 kB / 1.482 GB, free: 15.46 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001503/1.325, allocations: 0.7565 MB / 1.483 GB, free: 14.7 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.325, allocations: 0 / 1.483 GB, free: 14.7 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003018/1.328, allocations: 0.5664 MB / 1.484 GB, free: 14.13 MB / 1.17 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01315/1.341, allocations: 4.759 MB / 1.488 GB, free: 9.27 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.354, allocations: 4.951 MB / 1.493 GB, free: 4.145 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.354, allocations: 12.12 kB / 1.493 GB, free: 4.133 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008163/1.362, allocations: 3.425 MB / 1.497 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.366, allocations: 0.5512 MB / 1.497 GB, free: 4 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04927/1.415, allocations: 19.32 MB / 1.516 GB, free: 12.23 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/1.417, allocations: 1.477 MB / 1.517 GB, free: 10.73 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001888/1.419, allocations: 421.6 kB / 1.518 GB, free: 10.31 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/1.42, allocations: 0.6281 MB / 1.518 GB, free: 9.68 MB / 1.201 GB Notification: Performance of SimCode: time 9.91e-07/1.42, allocations: 7.938 kB / 1.518 GB, free: 9.672 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/1.574, allocations: 52.03 MB / 1.569 GB, free: 6.305 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.13/22.71, allocations: 8.062 kB / 1.569 GB, free: 6.297 MB / 1.248 GB " [Timeout remaining time 277] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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: 29.60537905700039]