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.001249/0.001249, allocations: 101.5 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.001417/0.001417, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.107/3.107, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 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.001942/0.001942, allocations: 64.41 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3076, allocations: 179 MB / 1.345 GB, free: 468 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009449/0.317, allocations: 7.069 MB / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005961/0.323, allocations: 3.227 MB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006507/0.3236, allocations: 39.62 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.3262, allocations: 0.9941 MB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.3276, allocations: 0.5167 MB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3287, allocations: 454.6 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.3301, allocations: 1.232 MB / 1.359 GB, free: 2.883 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000773/0.3309, allocations: 0.5373 MB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006397/0.3315, allocations: 490.2 kB / 1.36 GB, free: 1.859 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.3323, allocations: 0.5526 MB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3324, allocations: 68 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.333, allocations: 391.2 kB / 1.361 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.3333, allocations: 319 kB / 1.361 GB, free: 0.543 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00043/0.3338, allocations: 449.8 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.3351, allocations: 1.222 MB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3351, allocations: 4 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3351, allocations: 0 / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.3351, allocations: 0 / 1.362 GB, free: 14.87 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.001937/0.3371, allocations: 1.119 MB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3371, allocations: 12.03 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.014e-05/0.3371, allocations: 25.5 kB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.3373, allocations: 118.6 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.3388, allocations: 244.1 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009541/0.3397, allocations: 0.536 MB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.3398, allocations: 45.67 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.3399, allocations: 68.3 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.3414, allocations: 1.096 MB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.3414, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/0.3415, allocations: 31.98 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.3417, allocations: 89.19 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.3428, allocations: 0.7504 MB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005454/0.3483, allocations: 5.807 MB / 1.372 GB, free: 4.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000964/0.3493, allocations: 0.5086 MB / 1.373 GB, free: 3.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.3497, allocations: 286 kB / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.3497, allocations: 4.438 kB / 1.373 GB, free: 3.535 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3498, allocations: 39 kB / 1.373 GB, free: 3.484 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 1.924e-06/0.3498, allocations: 0 / 1.373 GB, free: 3.484 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.00371/0.3535, allocations: 1.682 MB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.3535, allocations: 59.83 kB / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.3542, allocations: 0.5665 MB / 1.375 GB, free: 1.141 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.3542, allocations: 33.7 kB / 1.375 GB, free: 1.102 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.3545, allocations: 424 kB / 1.376 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.3547, allocations: 186.5 kB / 1.376 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.3549, allocations: 126.6 kB / 1.376 GB, free: 376 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.355, allocations: 378.7 kB / 1.376 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.3555, allocations: 277.8 kB / 1.377 GB, free: 15.72 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.356, allocations: 496.9 kB / 1.377 GB, free: 15.14 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.3571, allocations: 0.8122 MB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3571, allocations: 0 / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001842/0.3589, allocations: 1.077 MB / 1.379 GB, free: 13.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.359, allocations: 8.875 kB / 1.379 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.359, allocations: 8 kB / 1.379 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008294/0.3598, allocations: 275.2 kB / 1.379 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.3603, allocations: 127.7 kB / 1.379 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/0.3671, allocations: 6.725 MB / 1.386 GB, free: 5.523 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.3676, allocations: 40.03 kB / 1.386 GB, free: 5.484 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.3677, allocations: 32 kB / 1.386 GB, free: 5.453 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.000348/0.368, allocations: 253.5 kB / 1.386 GB, free: 5.195 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.3681, allocations: 75.53 kB / 1.386 GB, free: 5.121 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.3697, allocations: 0.8847 MB / 1.387 GB, free: 4.211 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3698, allocations: 7.938 kB / 1.387 GB, free: 4.203 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3698, allocations: 7.938 kB / 1.387 GB, free: 4.195 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.3698, allocations: 3.984 kB / 1.387 GB, free: 4.191 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.3724, allocations: 1.7 MB / 1.389 GB, free: 2.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3724, allocations: 4 kB / 1.389 GB, free: 2.406 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.3727, allocations: 60.08 kB / 1.389 GB, free: 2.348 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007565/0.3735, allocations: 275.2 kB / 1.389 GB, free: 2.066 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.3735, allocations: 8 kB / 1.389 GB, free: 2.059 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006828/0.3803, allocations: 6.709 MB / 1.396 GB, free: 10.89 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3803, allocations: 4.062 kB / 1.396 GB, free: 10.89 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.3819, allocations: 0.9763 MB / 1.397 GB, free: 9.859 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.3822, allocations: 119.5 kB / 1.397 GB, free: 9.742 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.3823, allocations: 11.94 kB / 1.397 GB, free: 9.73 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.3827, allocations: 27.97 kB / 1.397 GB, free: 9.703 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3828, allocations: 51.86 kB / 1.397 GB, free: 9.652 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.3828, allocations: 16 kB / 1.397 GB, free: 9.637 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004465/0.3832, allocations: 391.1 kB / 1.397 GB, free: 9.258 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3832, allocations: 0 / 1.397 GB, free: 9.258 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000764/0.384, allocations: 224 kB / 1.397 GB, free: 9.039 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.001937/0.3859, allocations: 1.533 MB / 1.399 GB, free: 7.453 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.3881, allocations: 1.24 MB / 1.4 GB, free: 6.16 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3881, allocations: 4 kB / 1.4 GB, free: 6.156 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.3894, allocations: 0.858 MB / 1.401 GB, free: 5.246 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.3906, allocations: 229.1 kB / 1.401 GB, free: 5.031 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/0.3995, allocations: 6.409 MB / 1.407 GB, free: 14.28 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/0.4002, allocations: 1.016 MB / 1.408 GB, free: 13.24 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004171/0.4007, allocations: 122 kB / 1.409 GB, free: 13.12 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/0.401, allocations: 255.3 kB / 1.409 GB, free: 12.87 MB / 1.107 GB Notification: Performance of SimCode: time 1.031e-06/0.401, allocations: 0 / 1.409 GB, free: 12.87 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05243/0.4534, allocations: 18.21 MB / 1.427 GB, free: 10.97 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.91, allocations: 5.109 kB / 1.427 GB, free: 10.96 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.573172283009626]