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.001733/0.001733, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002211/0.002211, allocations: 207.1 kB / 22.24 MB, free: 5.258 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.773 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.276/3.276, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",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.003194/0.003194, allocations: 66.33 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3514, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01974/0.3712, allocations: 13.94 MB / 1.377 GB, free: 84 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.3885, allocations: 9.956 MB / 1.387 GB, free: 6.098 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.3903, allocations: 91.19 kB / 1.387 GB, free: 6.008 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005202/0.3955, allocations: 1.691 MB / 1.388 GB, free: 4.312 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006484/0.402, allocations: 1.861 MB / 1.39 GB, free: 2.449 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.4044, allocations: 0.7552 MB / 1.391 GB, free: 1.695 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004963/0.4094, allocations: 2.758 MB / 1.394 GB, free: 14.93 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.4118, allocations: 1.188 MB / 1.395 GB, free: 13.7 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003099/0.4149, allocations: 1.73 MB / 1.397 GB, free: 11.96 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.4172, allocations: 1.039 MB / 1.398 GB, free: 10.92 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008408/0.4181, allocations: 156 kB / 1.398 GB, free: 10.77 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.4207, allocations: 0.7174 MB / 1.398 GB, free: 10.05 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.4219, allocations: 0.6152 MB / 1.399 GB, free: 9.434 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.4237, allocations: 0.7697 MB / 1.4 GB, free: 8.66 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004678/0.4284, allocations: 2.763 MB / 1.402 GB, free: 5.887 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4284, allocations: 0 / 1.402 GB, free: 5.887 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.584e-06/0.4284, allocations: 0 / 1.402 GB, free: 5.887 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001024/0.4285, allocations: 0 / 1.402 GB, free: 5.887 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005937/0.4344, allocations: 2.143 MB / 1.405 GB, free: 3.703 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.4345, allocations: 12.02 kB / 1.405 GB, free: 3.691 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005278/0.435, allocations: 194.4 kB / 1.405 GB, free: 3.492 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.4473, allocations: 2.113 MB / 1.407 GB, free: 1.375 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004297/0.4516, allocations: 1.189 MB / 1.408 GB, free: 140 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.4517, allocations: 94.67 kB / 1.408 GB, free: 44 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007267/0.4525, allocations: 119.9 kB / 1.408 GB, free: 15.93 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007814/0.4603, allocations: 2.881 MB / 1.411 GB, free: 12.85 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.716e-05/0.4604, allocations: 7.938 kB / 1.411 GB, free: 12.84 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003393/0.4607, allocations: 55.98 kB / 1.411 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000746/0.4614, allocations: 190.1 kB / 1.411 GB, free: 12.6 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00837/0.4698, allocations: 2.787 MB / 1.414 GB, free: 9.801 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.4869, allocations: 8.342 MB / 1.422 GB, free: 1.285 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006993/0.4939, allocations: 2.179 MB / 1.424 GB, free: 15.1 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003272/0.4971, allocations: 1.199 MB / 1.425 GB, free: 13.9 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/0.4972, allocations: 9 kB / 1.425 GB, free: 13.89 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.4973, allocations: 39.56 kB / 1.425 GB, free: 13.84 MB / 1.123 GB Notification: Performance of pre-optimization done (n=89): time 3.146e-06/0.4973, allocations: 0 / 1.425 GB, free: 13.84 MB / 1.123 GB Notification: Performance of matching and sorting (n=153): time 0.06278/0.56, allocations: 16 MB / 1.441 GB, free: 13.8 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.5601, allocations: 68.72 kB / 1.441 GB, free: 13.72 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.5621, allocations: 1.188 MB / 1.442 GB, free: 12.52 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002141/0.5623, allocations: 49.7 kB / 1.442 GB, free: 12.47 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007011/0.563, allocations: 0.7645 MB / 1.443 GB, free: 11.7 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/0.5637, allocations: 0.5344 MB / 1.444 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006913/0.5644, allocations: 291.5 kB / 1.444 GB, free: 10.87 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5645, allocations: 305.1 kB / 1.444 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003899/0.5684, allocations: 1.51 MB / 1.446 GB, free: 9.055 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004074/0.5725, allocations: 1.78 MB / 1.447 GB, free: 7.18 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007909/0.5804, allocations: 3.369 MB / 1.451 GB, free: 3.715 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.5804, allocations: 0 / 1.451 GB, free: 3.715 MB / 1.139 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01469/0.5951, allocations: 5.211 MB / 1.456 GB, free: 14.46 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.5952, allocations: 8 kB / 1.456 GB, free: 14.46 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.5952, allocations: 8.875 kB / 1.456 GB, free: 14.45 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007486/0.6027, allocations: 1.875 MB / 1.458 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/0.6048, allocations: 415.2 kB / 1.458 GB, free: 12.14 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03306/0.6379, allocations: 23.06 MB / 1.481 GB, free: 4.188 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/0.6406, allocations: 303.5 kB / 1.481 GB, free: 3.891 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/0.6409, allocations: 75.83 kB / 1.481 GB, free: 3.816 MB / 1.17 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.001039/0.642, allocations: 461.6 kB / 1.481 GB, free: 3.355 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.6424, allocations: 183.3 kB / 1.482 GB, free: 3.176 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/0.6573, allocations: 5.249 MB / 1.487 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.6574, allocations: 16 kB / 1.487 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.113e-05/0.6574, allocations: 20 kB / 1.487 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.6575, allocations: 7.969 kB / 1.487 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01925/0.6767, allocations: 6.989 MB / 1.494 GB, free: 6.723 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.6767, allocations: 4 kB / 1.494 GB, free: 6.719 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/0.6786, allocations: 351.4 kB / 1.494 GB, free: 6.375 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006616/0.6852, allocations: 1.698 MB / 1.496 GB, free: 4.656 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/0.6854, allocations: 47.91 kB / 1.496 GB, free: 4.609 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03117/0.7166, allocations: 22.22 MB / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7166, allocations: 0 / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/0.73, allocations: 4.833 MB / 1.522 GB, free: 8.555 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/0.7314, allocations: 434.5 kB / 1.522 GB, free: 8.129 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004135/0.7318, allocations: 28 kB / 1.522 GB, free: 8.102 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/0.7342, allocations: 315.5 kB / 1.523 GB, free: 7.793 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005281/0.7348, allocations: 160.9 kB / 1.523 GB, free: 7.633 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.7349, allocations: 55.97 kB / 1.523 GB, free: 7.578 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001375/0.7363, allocations: 0.7899 MB / 1.524 GB, free: 6.789 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7363, allocations: 0 / 1.524 GB, free: 6.789 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002249/0.7386, allocations: 0.6562 MB / 1.524 GB, free: 6.133 MB / 1.217 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.01372/0.7523, allocations: 5.415 MB / 1.53 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01306/0.7653, allocations: 4.917 MB / 1.534 GB, free: 11.6 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.7654, allocations: 0 / 1.534 GB, free: 11.6 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.007737/0.7731, allocations: 3.276 MB / 1.538 GB, free: 8.227 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.7759, allocations: 0.5647 MB / 1.538 GB, free: 7.68 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0523/0.8282, allocations: 21.79 MB / 1.559 GB, free: 1.391 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.8297, allocations: 0.9765 MB / 1.56 GB, free: 384 kB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001545/0.8313, allocations: 390.5 kB / 1.561 GB, free: 15.98 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.8324, allocations: 0.6554 MB / 1.561 GB, free: 15.34 MB / 1.264 GB Notification: Performance of SimCode: time 8.21e-07/0.8324, allocations: 4 kB / 1.561 GB, free: 15.33 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7945/1.627, allocations: 63.84 MB / 1.624 GB, free: 233.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/15.1, allocations: 3.656 kB / 1.624 GB, free: 233.5 MB / 1.295 GB " [Timeout remaining time 285] (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: 22.05892935488373]