Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 1.104 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7624, allocations: 168.7 MB / 1.269 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04206/0.8045, allocations: 33.17 MB / 1.301 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01875/0.8232, allocations: 10.4 MB / 1.311 GB, free: 9.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.826, allocations: 147.2 kB / 1.311 GB, free: 9.312 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009854/0.8359, allocations: 3.771 MB / 1.315 GB, free: 5.531 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.8411, allocations: 1.952 MB / 1.317 GB, free: 3.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005483/0.8466, allocations: 2.139 MB / 1.319 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009424/0.856, allocations: 7.325 MB / 1.326 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009672/0.8657, allocations: 7.038 MB / 1.333 GB, free: 2.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006525/0.8722, allocations: 3.229 MB / 1.336 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00624/0.8785, allocations: 3.684 MB / 1.34 GB, free: 12 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.8801, allocations: 0.6445 MB / 1.341 GB, free: 11.35 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004067/0.8841, allocations: 1.806 MB / 1.342 GB, free: 9.543 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003488/0.8876, allocations: 2.611 MB / 1.345 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004448/0.8921, allocations: 2.898 MB / 1.348 GB, free: 4.016 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.9048, allocations: 10.13 MB / 1.358 GB, free: 9.852 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9048, allocations: 0 / 1.358 GB, free: 9.852 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9048, allocations: 0 / 1.358 GB, free: 9.852 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000222/0.905, allocations: 4 kB / 1.358 GB, free: 9.848 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01098/0.916, allocations: 5.124 MB / 1.363 GB, free: 4.645 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.916, allocations: 12.03 kB / 1.363 GB, free: 4.633 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/0.9172, allocations: 0.682 MB / 1.363 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005387/0.9226, allocations: 0.9774 MB / 1.364 GB, free: 2.961 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008038/0.9306, allocations: 3.055 MB / 1.367 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.9309, allocations: 349.6 kB / 1.368 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.9321, allocations: 456.3 kB / 1.368 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/0.9474, allocations: 7.667 MB / 1.375 GB, free: 7.043 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001788/0.9476, allocations: 31.77 kB / 1.375 GB, free: 7.012 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007661/0.9484, allocations: 204 kB / 1.376 GB, free: 6.812 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003869/0.9488, allocations: 313 kB / 1.376 GB, free: 6.504 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.9601, allocations: 5.71 MB / 1.382 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04133/1.001, allocations: 34.89 MB / 1.416 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/1.004, allocations: 2.009 MB / 1.418 GB, free: 8.551 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/1.006, allocations: 1.124 MB / 1.419 GB, free: 7.426 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.53e-05/1.006, allocations: 17.31 kB / 1.419 GB, free: 7.41 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.006, allocations: 43.88 kB / 1.419 GB, free: 7.359 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 3.046e-06/1.006, allocations: 3.938 kB / 1.419 GB, free: 7.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=136): time 0.01411/1.02, allocations: 7.114 MB / 1.426 GB, free: 15.98 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/1.02, allocations: 72.7 kB / 1.426 GB, free: 15.89 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/1.022, allocations: 1.476 MB / 1.427 GB, free: 14.37 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/1.022, allocations: 45.7 kB / 1.427 GB, free: 14.32 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001523/1.024, allocations: 2.069 MB / 1.429 GB, free: 12.23 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005071/1.024, allocations: 0.5074 MB / 1.43 GB, free: 11.72 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005837/1.025, allocations: 351.4 kB / 1.43 GB, free: 11.37 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.025, allocations: 301.1 kB / 1.43 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/1.026, allocations: 0.9174 MB / 1.431 GB, free: 10.15 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/1.028, allocations: 1.593 MB / 1.433 GB, free: 8.246 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/1.032, allocations: 2.733 MB / 1.436 GB, free: 5.203 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.032, allocations: 8 kB / 1.436 GB, free: 5.195 MB / 1.139 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00641/1.039, allocations: 3.512 MB / 1.439 GB, free: 1.637 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/1.039, allocations: 14.34 kB / 1.439 GB, free: 1.625 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/1.039, allocations: 27.94 kB / 1.439 GB, free: 1.598 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002761/1.041, allocations: 0.9082 MB / 1.44 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/1.043, allocations: 351.4 kB / 1.44 GB, free: 316 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02407/1.067, allocations: 23.11 MB / 1.463 GB, free: 7.52 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/1.068, allocations: 104 kB / 1.463 GB, free: 7.418 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/1.069, allocations: 87.94 kB / 1.463 GB, free: 7.332 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002563/1.071, allocations: 1.606 MB / 1.465 GB, free: 5.715 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/1.071, allocations: 214.6 kB / 1.465 GB, free: 5.504 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005623/1.077, allocations: 2.97 MB / 1.468 GB, free: 2.484 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/1.077, allocations: 12 kB / 1.468 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/1.077, allocations: 16 kB / 1.468 GB, free: 2.457 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.077, allocations: 7.969 kB / 1.468 GB, free: 2.449 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/1.09, allocations: 7.306 MB / 1.475 GB, free: 10.9 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/1.09, allocations: 8 kB / 1.475 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008279/1.091, allocations: 175.7 kB / 1.475 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/1.094, allocations: 0.826 MB / 1.476 GB, free: 9.859 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.094, allocations: 31.98 kB / 1.476 GB, free: 9.828 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02257/1.116, allocations: 21.96 MB / 1.497 GB, free: 2.195 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.116, allocations: 7.938 kB / 1.497 GB, free: 2.188 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005589/1.122, allocations: 3.018 MB / 1.5 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.123, allocations: 471.5 kB / 1.501 GB, free: 14.57 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/1.123, allocations: 31.94 kB / 1.501 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007583/1.124, allocations: 71.91 kB / 1.501 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.124, allocations: 124.7 kB / 1.501 GB, free: 14.35 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.621e-05/1.124, allocations: 40 kB / 1.501 GB, free: 14.31 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001418/1.126, allocations: 0.9717 MB / 1.502 GB, free: 13.31 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.126, allocations: 0 / 1.502 GB, free: 13.31 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002561/1.128, allocations: 0.7852 MB / 1.503 GB, free: 12.53 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005629/1.134, allocations: 3.61 MB / 1.506 GB, free: 8.797 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00626/1.14, allocations: 3.921 MB / 1.51 GB, free: 4.727 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.14, allocations: 1 kB / 1.51 GB, free: 4.727 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004006/1.144, allocations: 2.662 MB / 1.513 GB, free: 1.906 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/1.147, allocations: 0.7307 MB / 1.513 GB, free: 1.199 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03806/1.185, allocations: 22.41 MB / 1.535 GB, free: 9.762 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003956/1.189, allocations: 3.113 MB / 1.538 GB, free: 6.621 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001384/1.191, allocations: 461.9 kB / 1.539 GB, free: 6.168 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/1.193, allocations: 1.534 MB / 1.54 GB, free: 4.633 MB / 1.248 GB Notification: Performance of SimCode: time 1.283e-06/1.193, allocations: 0 / 1.54 GB, free: 4.633 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1448/1.338, allocations: 61.8 MB / 1.601 GB, free: 7.496 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.66, allocations: 2.188 kB / 1.601 GB, free: 7.496 MB / 1.311 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 21.711044610012323]