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.001232/0.001232, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001344/0.001344, allocations: 217.6 kB / 23.03 MB, free: 4.922 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.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.931/2.931, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.002766/0.002766, allocations: 62.78 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3592, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03792/0.3971, allocations: 31.48 MB / 1.357 GB, free: 1.891 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01748/0.4146, allocations: 10.27 MB / 1.367 GB, free: 7.594 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002905/0.4175, allocations: 194.6 kB / 1.368 GB, free: 7.402 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009786/0.4273, allocations: 3.725 MB / 1.371 GB, free: 3.668 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.4333, allocations: 1.948 MB / 1.373 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005957/0.4393, allocations: 2.134 MB / 1.375 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01001/0.4493, allocations: 7.326 MB / 1.382 GB, free: 8.227 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/0.4594, allocations: 5.154 MB / 1.387 GB, free: 2.949 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005951/0.4653, allocations: 3.291 MB / 1.391 GB, free: 15.65 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006236/0.4716, allocations: 3.684 MB / 1.394 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001945/0.4735, allocations: 0.6445 MB / 1.395 GB, free: 11.31 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00451/0.478, allocations: 1.665 MB / 1.396 GB, free: 9.641 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004163/0.4822, allocations: 2.607 MB / 1.399 GB, free: 7.027 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005522/0.4877, allocations: 2.342 MB / 1.401 GB, free: 4.676 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.5018, allocations: 10.18 MB / 1.411 GB, free: 10.46 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5018, allocations: 4 kB / 1.411 GB, free: 10.46 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5018, allocations: 0 / 1.411 GB, free: 10.46 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003279/0.5021, allocations: 0 / 1.411 GB, free: 10.46 MB / 1.107 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.01294/0.5151, allocations: 5.052 MB / 1.416 GB, free: 5.344 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.5151, allocations: 8.031 kB / 1.416 GB, free: 5.336 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001511/0.5153, allocations: 125.5 kB / 1.416 GB, free: 5.211 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001915/0.5172, allocations: 0.682 MB / 1.417 GB, free: 4.52 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005902/0.5231, allocations: 0.9735 MB / 1.418 GB, free: 3.543 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006828/0.5299, allocations: 2.999 MB / 1.421 GB, free: 484 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/0.5303, allocations: 357.6 kB / 1.421 GB, free: 124 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/0.5319, allocations: 460.3 kB / 1.422 GB, free: 15.67 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.5498, allocations: 7.968 MB / 1.429 GB, free: 7.281 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002504/0.55, allocations: 23.83 kB / 1.429 GB, free: 7.258 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/0.5514, allocations: 200 kB / 1.43 GB, free: 7.062 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004148/0.5518, allocations: 320.9 kB / 1.43 GB, free: 6.746 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.5632, allocations: 5.702 MB / 1.435 GB, free: 1.027 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0325/0.5957, allocations: 22.7 MB / 1.458 GB, free: 9.676 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.5983, allocations: 1.546 MB / 1.459 GB, free: 8.121 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.5999, allocations: 1.128 MB / 1.46 GB, free: 6.992 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/0.6, allocations: 13.31 kB / 1.46 GB, free: 6.977 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.6, allocations: 47.88 kB / 1.46 GB, free: 6.922 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 3.567e-06/0.6, allocations: 0 / 1.46 GB, free: 6.922 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01354/0.6135, allocations: 6.207 MB / 1.466 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.6136, allocations: 68.72 kB / 1.466 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/0.6158, allocations: 1.484 MB / 1.468 GB, free: 15.06 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.6159, allocations: 49.7 kB / 1.468 GB, free: 15 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.6174, allocations: 2.065 MB / 1.47 GB, free: 12.92 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/0.6178, allocations: 0.4996 MB / 1.47 GB, free: 12.42 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005315/0.6184, allocations: 359.3 kB / 1.471 GB, free: 12.06 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6185, allocations: 301.1 kB / 1.471 GB, free: 11.76 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.6198, allocations: 0.9135 MB / 1.472 GB, free: 10.85 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.6216, allocations: 1.593 MB / 1.474 GB, free: 8.945 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.625, allocations: 2.733 MB / 1.476 GB, free: 5.898 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-05/0.625, allocations: 11.94 kB / 1.476 GB, free: 5.887 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006068/0.6311, allocations: 3.515 MB / 1.48 GB, free: 2.324 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.6311, allocations: 15.94 kB / 1.48 GB, free: 2.309 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.6312, allocations: 27.94 kB / 1.48 GB, free: 2.281 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/0.6338, allocations: 0.9007 MB / 1.481 GB, free: 1.344 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.6349, allocations: 355.3 kB / 1.481 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/0.6563, allocations: 21.73 MB / 1.502 GB, free: 9.895 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.6578, allocations: 104 kB / 1.502 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/0.658, allocations: 84 kB / 1.502 GB, free: 9.711 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.002482/0.6605, allocations: 1.611 MB / 1.504 GB, free: 8.09 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/0.6609, allocations: 214.6 kB / 1.504 GB, free: 7.879 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/0.6661, allocations: 2.97 MB / 1.507 GB, free: 4.859 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.6661, allocations: 12 kB / 1.507 GB, free: 4.848 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.6661, allocations: 8 kB / 1.507 GB, free: 4.84 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.6661, allocations: 12.25 kB / 1.507 GB, free: 4.828 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.6779, allocations: 6.711 MB / 1.514 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.6779, allocations: 8.562 kB / 1.514 GB, free: 13.95 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.6787, allocations: 179.7 kB / 1.514 GB, free: 13.78 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.6811, allocations: 0.8179 MB / 1.515 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-05/0.6812, allocations: 31.94 kB / 1.515 GB, free: 12.89 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/0.7012, allocations: 20.59 MB / 1.535 GB, free: 6.922 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.7012, allocations: 8.062 kB / 1.535 GB, free: 6.914 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005265/0.7065, allocations: 3.011 MB / 1.538 GB, free: 3.789 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008708/0.7073, allocations: 394.5 kB / 1.538 GB, free: 3.402 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.7076, allocations: 39.88 kB / 1.538 GB, free: 3.363 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.7083, allocations: 71.91 kB / 1.538 GB, free: 3.293 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/0.7086, allocations: 132.6 kB / 1.538 GB, free: 3.164 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.339e-05/0.7087, allocations: 39.94 kB / 1.538 GB, free: 3.125 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001305/0.71, allocations: 0.9717 MB / 1.539 GB, free: 2.129 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.71, allocations: 0 / 1.539 GB, free: 2.129 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002573/0.7126, allocations: 0.7891 MB / 1.54 GB, free: 1.34 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.00517/0.7178, allocations: 3.6 MB / 1.544 GB, free: 13.62 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.005713/0.7235, allocations: 3.914 MB / 1.547 GB, free: 9.551 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.7235, allocations: 0 / 1.547 GB, free: 9.551 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.003713/0.7272, allocations: 2.674 MB / 1.55 GB, free: 6.719 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/0.7302, allocations: 0.7386 MB / 1.551 GB, free: 6.008 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03334/0.7635, allocations: 22.51 MB / 1.573 GB, free: 14.47 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003448/0.7669, allocations: 2.565 MB / 1.575 GB, free: 11.88 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001223/0.7682, allocations: 461.9 kB / 1.576 GB, free: 11.43 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/0.77, allocations: 1.534 MB / 1.577 GB, free: 9.891 MB / 1.279 GB Notification: Performance of SimCode: time 8.12e-07/0.77, allocations: 0 / 1.577 GB, free: 9.891 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7421/1.512, allocations: 66.02 MB / 1.642 GB, free: 245.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/16.13, allocations: 13.11 kB / 1.642 GB, free: 245.7 MB / 1.295 GB " [Timeout remaining time 284] (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: 23.418508746894076]