Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001597/0.001597, allocations: 109.1 kB / 16.46 MB, free: 6.504 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.001562/0.001562, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.424/1.424, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.89 kB / 1.056 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8417/0.8436, allocations: 160.7 MB / 1.213 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0576/0.9013, allocations: 35.46 MB / 1.248 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03046/0.9317, allocations: 11.62 MB / 1.259 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004207/0.9359, allocations: 163.2 kB / 1.259 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01285/0.9488, allocations: 4.327 MB / 1.263 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006346/0.9551, allocations: 2.084 MB / 1.265 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006585/0.9617, allocations: 2.415 MB / 1.268 GB, free: 60 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01237/0.9741, allocations: 8.459 MB / 1.276 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01324/0.9873, allocations: 8.431 MB / 1.284 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006514/0.9938, allocations: 3.794 MB / 1.288 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00812/1.002, allocations: 4.424 MB / 1.292 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002686/1.005, allocations: 0.7812 MB / 1.293 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005709/1.01, allocations: 2.067 MB / 1.295 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005052/1.015, allocations: 3.141 MB / 1.298 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006161/1.022, allocations: 3.401 MB / 1.301 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01839/1.04, allocations: 12.01 MB / 1.313 GB, free: 1.324 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/1.04, allocations: 4 kB / 1.313 GB, free: 1.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.374e-06/1.04, allocations: 0 / 1.313 GB, free: 1.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004828/1.04, allocations: 0 / 1.313 GB, free: 1.32 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01964/1.06, allocations: 5.943 MB / 1.319 GB, free: 11.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/1.06, allocations: 8.625 kB / 1.319 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002659/1.063, allocations: 0.8051 MB / 1.32 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007195/1.07, allocations: 1.094 MB / 1.321 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009338/1.079, allocations: 3.467 MB / 1.324 GB, free: 5.848 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000448/1.08, allocations: 411.4 kB / 1.325 GB, free: 5.445 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/1.082, allocations: 0.5393 MB / 1.325 GB, free: 4.906 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01853/1.1, allocations: 9.079 MB / 1.334 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/1.101, allocations: 31.81 kB / 1.334 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007514/1.101, allocations: 232 kB / 1.334 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004145/1.102, allocations: 346.8 kB / 1.335 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/1.118, allocations: 6.83 MB / 1.341 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05532/1.174, allocations: 39.86 MB / 1.38 GB, free: 8.496 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004252/1.178, allocations: 2.905 MB / 1.383 GB, free: 5.449 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002824/1.181, allocations: 1.782 MB / 1.385 GB, free: 3.664 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/1.181, allocations: 25.98 kB / 1.385 GB, free: 3.637 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/1.181, allocations: 56.5 kB / 1.385 GB, free: 3.574 MB / 1.092 GB Notification: Performance of pre-optimization done (n=179): time 3.867e-06/1.181, allocations: 0 / 1.385 GB, free: 3.574 MB / 1.092 GB Notification: Performance of matching and sorting (n=182): time 0.0257/1.207, allocations: 9.992 MB / 1.395 GB, free: 9.492 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/1.207, allocations: 69.41 kB / 1.395 GB, free: 9.41 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/1.21, allocations: 1.523 MB / 1.396 GB, free: 7.844 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/1.21, allocations: 57.7 kB / 1.396 GB, free: 7.781 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001965/1.212, allocations: 2.331 MB / 1.398 GB, free: 5.426 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008007/1.213, allocations: 0.6545 MB / 1.399 GB, free: 4.766 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006635/1.213, allocations: 416.1 kB / 1.399 GB, free: 4.352 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.213, allocations: 305.1 kB / 1.4 GB, free: 4.051 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/1.215, allocations: 1.176 MB / 1.401 GB, free: 2.871 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/1.218, allocations: 1.885 MB / 1.403 GB, free: 0.668 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004858/1.223, allocations: 3.375 MB / 1.406 GB, free: 12.98 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/1.223, allocations: 8 kB / 1.406 GB, free: 12.97 MB / 1.123 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008604/1.231, allocations: 4.527 MB / 1.41 GB, free: 8.422 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/1.231, allocations: 16 kB / 1.41 GB, free: 8.406 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/1.231, allocations: 24 kB / 1.411 GB, free: 8.383 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004158/1.235, allocations: 1.589 MB / 1.412 GB, free: 6.785 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.237, allocations: 351.4 kB / 1.412 GB, free: 6.441 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02692/1.264, allocations: 18.59 MB / 1.431 GB, free: 3.301 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.266, allocations: 120.3 kB / 1.431 GB, free: 3.184 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/1.266, allocations: 95.98 kB / 1.431 GB, free: 3.09 MB / 1.139 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003687/1.27, allocations: 1.898 MB / 1.433 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000572/1.27, allocations: 234.5 kB / 1.433 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007733/1.278, allocations: 4.043 MB / 1.437 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1.278, allocations: 16 kB / 1.437 GB, free: 12.86 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-05/1.278, allocations: 24 kB / 1.437 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-05/1.278, allocations: 11.91 kB / 1.437 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/1.297, allocations: 9.418 MB / 1.446 GB, free: 3.156 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.297, allocations: 4.562 kB / 1.446 GB, free: 3.152 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008307/1.298, allocations: 183.7 kB / 1.446 GB, free: 2.973 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003615/1.301, allocations: 1.358 MB / 1.448 GB, free: 1.605 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/1.302, allocations: 32 kB / 1.448 GB, free: 1.574 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02481/1.326, allocations: 17.37 MB / 1.465 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.327, allocations: 7.938 kB / 1.465 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007766/1.334, allocations: 4.036 MB / 1.468 GB, free: 11.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/1.336, allocations: 0.5385 MB / 1.469 GB, free: 10.94 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003973/1.336, allocations: 39.95 kB / 1.469 GB, free: 10.9 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009214/1.337, allocations: 83.89 kB / 1.469 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000484/1.338, allocations: 165.7 kB / 1.469 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1.338, allocations: 44 kB / 1.469 GB, free: 10.61 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001585/1.339, allocations: 1.001 MB / 1.47 GB, free: 9.59 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.339, allocations: 3.938 kB / 1.47 GB, free: 9.586 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003575/1.343, allocations: 0.9961 MB / 1.471 GB, free: 8.59 MB / 1.186 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007784/1.351, allocations: 4.626 MB / 1.476 GB, free: 3.867 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007965/1.359, allocations: 4.167 MB / 1.48 GB, free: 15.65 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.359, allocations: 4.062 kB / 1.48 GB, free: 15.65 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005101/1.364, allocations: 2.575 MB / 1.482 GB, free: 13.03 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/1.368, allocations: 0.7805 MB / 1.483 GB, free: 12.28 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05085/1.419, allocations: 26.87 MB / 1.509 GB, free: 336 kB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005357/1.424, allocations: 3.573 MB / 1.513 GB, free: 12.72 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001647/1.426, allocations: 471.9 kB / 1.513 GB, free: 12.26 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00287/1.428, allocations: 1.792 MB / 1.515 GB, free: 10.46 MB / 1.232 GB Notification: Performance of SimCode: time 1.884e-06/1.428, allocations: 0 / 1.515 GB, free: 10.46 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/1.581, allocations: 74.39 MB / 1.588 GB, free: 0.6602 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.61, allocations: 13.88 kB / 1.588 GB, free: 0.6484 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.20495074801147]