Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001305/0.001305, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001331/0.001331, allocations: 212 kB / 20.13 MB, free: 2.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.458/1.458, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.872/2.872, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.002078/0.002078, allocations: 71.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8828/0.8849, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03277/0.9177, allocations: 33.18 MB / 1.354 GB, free: 2.492 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.9366, allocations: 10.44 MB / 1.364 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004027/0.9406, allocations: 197.1 kB / 1.364 GB, free: 11.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01053/0.9512, allocations: 3.775 MB / 1.368 GB, free: 9.004 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007324/0.9585, allocations: 1.953 MB / 1.37 GB, free: 7.805 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007984/0.9665, allocations: 2.131 MB / 1.372 GB, free: 6.609 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0128/0.9793, allocations: 7.324 MB / 1.379 GB, free: 3.301 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/0.9908, allocations: 7.048 MB / 1.386 GB, free: 496 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005998/0.9968, allocations: 3.263 MB / 1.389 GB, free: 14.99 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006651/1.003, allocations: 3.68 MB / 1.393 GB, free: 13.44 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001895/1.005, allocations: 0.6455 MB / 1.393 GB, free: 13.44 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004919/1.01, allocations: 1.807 MB / 1.395 GB, free: 12.99 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00428/1.015, allocations: 2.62 MB / 1.398 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.007274/1.022, allocations: 2.894 MB / 1.401 GB, free: 9.973 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01788/1.04, allocations: 10.13 MB / 1.41 GB, free: 5.211 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.04, allocations: 1.312 kB / 1.41 GB, free: 5.211 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.783e-06/1.04, allocations: 0 / 1.41 GB, free: 5.211 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003407/1.04, allocations: 0 / 1.41 GB, free: 5.211 MB / 1.092 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.01969/1.06, allocations: 5.134 MB / 1.415 GB, free: 1.699 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/1.06, allocations: 17.69 kB / 1.415 GB, free: 1.691 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001981/1.06, allocations: 124.1 kB / 1.416 GB, free: 1.68 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003915/1.064, allocations: 0.6813 MB / 1.416 GB, free: 1.195 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007403/1.071, allocations: 0.9712 MB / 1.417 GB, free: 0.7148 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007096/1.078, allocations: 3.062 MB / 1.42 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003997/1.079, allocations: 348.8 kB / 1.421 GB, free: 14.55 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002341/1.081, allocations: 462.4 kB / 1.421 GB, free: 14.39 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02105/1.102, allocations: 7.668 MB / 1.428 GB, free: 9.574 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002725/1.102, allocations: 24.98 kB / 1.428 GB, free: 9.559 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002119/1.105, allocations: 208.8 kB / 1.429 GB, free: 9.402 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004324/1.105, allocations: 319 kB / 1.429 GB, free: 9.324 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/1.12, allocations: 5.704 MB / 1.435 GB, free: 5.355 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0483/1.169, allocations: 34.9 MB / 1.469 GB, free: 15.25 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/1.172, allocations: 2.006 MB / 1.471 GB, free: 13.12 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/1.173, allocations: 1.12 MB / 1.472 GB, free: 12 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-05/1.173, allocations: 13.31 kB / 1.472 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/1.173, allocations: 51.86 kB / 1.472 GB, free: 11.93 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 3.045e-06/1.174, allocations: 0 / 1.472 GB, free: 11.93 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01522/1.189, allocations: 7.122 MB / 1.479 GB, free: 4.543 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/1.189, allocations: 68.72 kB / 1.479 GB, free: 4.465 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/1.191, allocations: 1.484 MB / 1.48 GB, free: 2.934 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.191, allocations: 49.7 kB / 1.48 GB, free: 2.879 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/1.192, allocations: 2.061 MB / 1.482 GB, free: 0.7969 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004966/1.193, allocations: 0.5035 MB / 1.483 GB, free: 296 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005937/1.194, allocations: 359.4 kB / 1.483 GB, free: 15.93 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.194, allocations: 301.1 kB / 1.483 GB, free: 15.63 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.195, allocations: 0.9096 MB / 1.484 GB, free: 14.72 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/1.197, allocations: 1.601 MB / 1.486 GB, free: 12.8 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003666/1.201, allocations: 2.733 MB / 1.489 GB, free: 9.762 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/1.201, allocations: 8 kB / 1.489 GB, free: 9.754 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006666/1.207, allocations: 3.508 MB / 1.492 GB, free: 6.199 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/1.207, allocations: 19.92 kB / 1.492 GB, free: 6.18 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/1.208, allocations: 24 kB / 1.492 GB, free: 6.156 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002893/1.21, allocations: 0.9002 MB / 1.493 GB, free: 5.219 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.212, allocations: 347.4 kB / 1.493 GB, free: 4.879 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/1.236, allocations: 23.12 MB / 1.516 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.239, allocations: 104 kB / 1.516 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/1.239, allocations: 88 kB / 1.516 GB, free: 11.91 MB / 1.201 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.00355/1.242, allocations: 1.611 MB / 1.518 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004903/1.243, allocations: 218.7 kB / 1.518 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005842/1.249, allocations: 2.963 MB / 1.521 GB, free: 7.059 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.249, allocations: 12 kB / 1.521 GB, free: 7.047 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/1.249, allocations: 15.98 kB / 1.521 GB, free: 7.031 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.249, allocations: 7.984 kB / 1.521 GB, free: 7.023 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/1.262, allocations: 7.31 MB / 1.528 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.262, allocations: 4 kB / 1.528 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/1.263, allocations: 179.7 kB / 1.528 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/1.265, allocations: 0.8218 MB / 1.529 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.266, allocations: 32 kB / 1.529 GB, free: 14.41 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02297/1.289, allocations: 21.96 MB / 1.55 GB, free: 6.754 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.289, allocations: 4 kB / 1.55 GB, free: 6.75 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/1.294, allocations: 3.01 MB / 1.553 GB, free: 3.629 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.296, allocations: 471.6 kB / 1.554 GB, free: 3.148 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/1.296, allocations: 35.98 kB / 1.554 GB, free: 3.113 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008668/1.297, allocations: 63.92 kB / 1.554 GB, free: 3.051 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/1.297, allocations: 128.7 kB / 1.554 GB, free: 2.926 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.175e-05/1.297, allocations: 36 kB / 1.554 GB, free: 2.891 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001673/1.299, allocations: 0.9756 MB / 1.555 GB, free: 1.891 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/1.299, allocations: 0 / 1.555 GB, free: 1.891 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004251/1.303, allocations: 0.7891 MB / 1.556 GB, free: 1.102 MB / 1.232 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.00606/1.309, allocations: 3.607 MB / 1.559 GB, free: 13.37 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006204/1.315, allocations: 3.906 MB / 1.563 GB, free: 9.316 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.315, allocations: 0 / 1.563 GB, free: 9.316 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004259/1.32, allocations: 2.678 MB / 1.566 GB, free: 6.48 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/1.323, allocations: 0.7385 MB / 1.566 GB, free: 5.766 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/1.361, allocations: 22.41 MB / 1.588 GB, free: 14.33 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003944/1.365, allocations: 3.109 MB / 1.591 GB, free: 11.19 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001425/1.366, allocations: 453.9 kB / 1.592 GB, free: 10.75 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/1.368, allocations: 1.538 MB / 1.593 GB, free: 9.207 MB / 1.279 GB Notification: Performance of SimCode: time 8.72e-07/1.368, allocations: 0 / 1.593 GB, free: 9.207 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/1.508, allocations: 61.9 MB / 1.654 GB, free: 12 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/15.16, allocations: 7.734 kB / 1.654 GB, free: 12 MB / 1.342 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.360094463045243]