Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.00137/0.00137, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001581/0.001581, allocations: 214.6 kB / 23.03 MB, free: 4.949 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.213/3.213, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] 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.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001963/0.001963, allocations: 70.58 kB / 1.17 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3157, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0196/0.3353, allocations: 13.93 MB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.3514, allocations: 9.948 MB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.3527, allocations: 75.31 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004782/0.3575, allocations: 1.699 MB / 1.37 GB, free: 6.234 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0053/0.3628, allocations: 1.838 MB / 1.372 GB, free: 4.395 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.3649, allocations: 0.7601 MB / 1.373 GB, free: 3.633 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004203/0.3691, allocations: 2.764 MB / 1.376 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.3711, allocations: 1.203 MB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.3737, allocations: 1.555 MB / 1.378 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/0.3759, allocations: 1.23 MB / 1.379 GB, free: 12.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004742/0.3764, allocations: 160 kB / 1.38 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.3781, allocations: 0.737 MB / 1.38 GB, free: 11.94 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008511/0.379, allocations: 0.6268 MB / 1.381 GB, free: 11.31 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.3804, allocations: 0.7737 MB / 1.382 GB, free: 10.53 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.3846, allocations: 2.794 MB / 1.384 GB, free: 7.727 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3847, allocations: 4 kB / 1.384 GB, free: 7.723 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3847, allocations: 0 / 1.384 GB, free: 7.723 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.319e-05/0.3847, allocations: 3.938 kB / 1.384 GB, free: 7.719 MB / 1.076 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.005085/0.3898, allocations: 2.147 MB / 1.387 GB, free: 5.531 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3899, allocations: 8.031 kB / 1.387 GB, free: 5.523 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.288e-05/0.3899, allocations: 38.52 kB / 1.387 GB, free: 5.484 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004077/0.3904, allocations: 194.4 kB / 1.387 GB, free: 5.285 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.4021, allocations: 2.117 MB / 1.389 GB, free: 3.164 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.4053, allocations: 1.228 MB / 1.39 GB, free: 1.887 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.4054, allocations: 98.42 kB / 1.39 GB, free: 1.789 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004401/0.4059, allocations: 116 kB / 1.39 GB, free: 1.676 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006781/0.4127, allocations: 3.068 MB / 1.393 GB, free: 14.36 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/0.4127, allocations: 15.88 kB / 1.393 GB, free: 14.34 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.413, allocations: 55.98 kB / 1.393 GB, free: 14.29 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006677/0.4136, allocations: 194.1 kB / 1.393 GB, free: 14.1 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007817/0.4214, allocations: 2.787 MB / 1.396 GB, free: 11.3 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.4375, allocations: 8.338 MB / 1.404 GB, free: 2.773 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006414/0.4439, allocations: 2.187 MB / 1.406 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.447, allocations: 1.198 MB / 1.408 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.292e-05/0.4471, allocations: 9 kB / 1.408 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.4471, allocations: 43.56 kB / 1.408 GB, free: 15.31 MB / 1.107 GB Notification: Performance of pre-optimization done (n=89): time 3.827e-06/0.4471, allocations: 0 / 1.408 GB, free: 15.31 MB / 1.107 GB Notification: Performance of matching and sorting (n=153): time 0.06134/0.5085, allocations: 16.01 MB / 1.423 GB, free: 15.26 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.5085, allocations: 64.72 kB / 1.423 GB, free: 15.18 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.5104, allocations: 1.18 MB / 1.425 GB, free: 13.99 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002549/0.5106, allocations: 49.7 kB / 1.425 GB, free: 13.94 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006468/0.5113, allocations: 0.7607 MB / 1.425 GB, free: 13.17 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006876/0.5119, allocations: 0.5344 MB / 1.426 GB, free: 12.63 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007016/0.5126, allocations: 291.5 kB / 1.426 GB, free: 12.34 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5128, allocations: 305.1 kB / 1.426 GB, free: 12.04 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00356/0.5163, allocations: 1.507 MB / 1.428 GB, free: 10.54 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003822/0.5202, allocations: 1.784 MB / 1.43 GB, free: 8.656 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0075/0.5277, allocations: 3.365 MB / 1.433 GB, free: 5.195 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.5277, allocations: 4 kB / 1.433 GB, free: 5.191 MB / 1.123 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01407/0.5417, allocations: 5.204 MB / 1.438 GB, free: 15.95 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.5418, allocations: 12 kB / 1.438 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.5418, allocations: 8 kB / 1.438 GB, free: 15.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007471/0.5493, allocations: 1.88 MB / 1.44 GB, free: 14.03 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.5513, allocations: 415.2 kB / 1.44 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03202/0.5833, allocations: 23.07 MB / 1.463 GB, free: 5.652 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.5858, allocations: 307.5 kB / 1.463 GB, free: 5.352 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/0.5861, allocations: 71.95 kB / 1.463 GB, free: 5.281 MB / 1.154 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009978/0.5871, allocations: 461.5 kB / 1.464 GB, free: 4.82 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/0.5876, allocations: 182.9 kB / 1.464 GB, free: 4.641 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.6016, allocations: 5.25 MB / 1.469 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.6017, allocations: 16 kB / 1.469 GB, free: 15.32 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.719e-05/0.6017, allocations: 20 kB / 1.469 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.6017, allocations: 7.969 kB / 1.469 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/0.6199, allocations: 6.977 MB / 1.476 GB, free: 8.203 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/0.6199, allocations: 7.938 kB / 1.476 GB, free: 8.195 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/0.6216, allocations: 351.7 kB / 1.476 GB, free: 7.852 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006808/0.6285, allocations: 1.702 MB / 1.478 GB, free: 6.129 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002799/0.6287, allocations: 43.91 kB / 1.478 GB, free: 6.086 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03066/0.6594, allocations: 22.24 MB / 1.5 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.6594, allocations: 4.562 kB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.6724, allocations: 4.822 MB / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.6737, allocations: 426.6 kB / 1.505 GB, free: 9.605 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/0.6742, allocations: 28 kB / 1.505 GB, free: 9.578 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/0.6764, allocations: 319.5 kB / 1.505 GB, free: 9.266 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005806/0.677, allocations: 160.9 kB / 1.505 GB, free: 9.105 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/0.6772, allocations: 55.91 kB / 1.505 GB, free: 9.051 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001335/0.6786, allocations: 0.7899 MB / 1.506 GB, free: 8.262 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6786, allocations: 0 / 1.506 GB, free: 8.262 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002605/0.6812, allocations: 0.6562 MB / 1.507 GB, free: 7.605 MB / 1.201 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0133/0.6945, allocations: 5.421 MB / 1.512 GB, free: 2.094 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01226/0.7067, allocations: 4.925 MB / 1.517 GB, free: 13.06 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.7067, allocations: 0 / 1.517 GB, free: 13.06 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007741/0.7145, allocations: 3.273 MB / 1.52 GB, free: 9.688 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.7175, allocations: 0.5639 MB / 1.52 GB, free: 9.145 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05208/0.7696, allocations: 21.79 MB / 1.542 GB, free: 2.848 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.7712, allocations: 0.9804 MB / 1.543 GB, free: 1.832 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001608/0.7728, allocations: 386.4 kB / 1.543 GB, free: 1.449 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.7739, allocations: 0.6593 MB / 1.544 GB, free: 0.793 MB / 1.232 GB Notification: Performance of SimCode: time 7.61e-07/0.7739, allocations: 0 / 1.544 GB, free: 0.793 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.181/0.9549, allocations: 63.95 MB / 1.606 GB, free: 1.766 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.84/22.8, allocations: 3.859 kB / 1.606 GB, free: 1.762 MB / 1.295 GB " [Timeout remaining time 277] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 30.326029140967876]