Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001734/0.001734, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002193/0.002193, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.887/2.887, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.00201/0.00201, allocations: 68.23 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02818/0.3625, allocations: 21.23 MB / 1.304 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.3755, allocations: 6.718 MB / 1.311 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.3775, allocations: 115.1 kB / 1.311 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006356/0.3838, allocations: 2.338 MB / 1.313 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.3874, allocations: 1.244 MB / 1.314 GB, free: 11.98 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.391, allocations: 1.316 MB / 1.316 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006423/0.3974, allocations: 4.866 MB / 1.32 GB, free: 5.785 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005493/0.4029, allocations: 3.178 MB / 1.323 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.4067, allocations: 2.15 MB / 1.326 GB, free: 388 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004447/0.4111, allocations: 2.481 MB / 1.328 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001264/0.4124, allocations: 431.9 kB / 1.328 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.4155, allocations: 1.022 MB / 1.329 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002673/0.4182, allocations: 1.711 MB / 1.331 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002952/0.4211, allocations: 1.91 MB / 1.333 GB, free: 8.812 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008171/0.4293, allocations: 6.534 MB / 1.339 GB, free: 2.262 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4293, allocations: 0 / 1.339 GB, free: 2.262 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4293, allocations: 0 / 1.339 GB, free: 2.262 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002303/0.4295, allocations: 0 / 1.339 GB, free: 2.262 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009325/0.4388, allocations: 3.47 MB / 1.343 GB, free: 14.74 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4389, allocations: 8.031 kB / 1.343 GB, free: 14.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008757/0.4398, allocations: 454.6 kB / 1.343 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/0.4433, allocations: 0.6584 MB / 1.344 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004767/0.4481, allocations: 2.001 MB / 1.346 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.4483, allocations: 222.3 kB / 1.346 GB, free: 11.35 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005228/0.4488, allocations: 292.1 kB / 1.346 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008382/0.4572, allocations: 4.882 MB / 1.351 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.858e-05/0.4572, allocations: 19.83 kB / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003029/0.4575, allocations: 128 kB / 1.351 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004356/0.458, allocations: 229.7 kB / 1.351 GB, free: 5.613 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006336/0.4643, allocations: 3.75 MB / 1.355 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/0.4893, allocations: 21.24 MB / 1.376 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.4912, allocations: 1.23 MB / 1.377 GB, free: 9.367 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.4928, allocations: 0.988 MB / 1.378 GB, free: 8.379 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-05/0.4928, allocations: 13 kB / 1.378 GB, free: 8.367 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.4929, allocations: 43.56 kB / 1.378 GB, free: 8.312 MB / 1.076 GB Notification: Performance of pre-optimization done (n=107): time 2.805e-06/0.4929, allocations: 3.938 kB / 1.378 GB, free: 8.309 MB / 1.076 GB Notification: Performance of matching and sorting (n=138): time 0.02384/0.5167, allocations: 8.424 MB / 1.386 GB, free: 15.89 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.5168, allocations: 68.66 kB / 1.386 GB, free: 15.81 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.5186, allocations: 1.126 MB / 1.387 GB, free: 14.68 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.5187, allocations: 53.7 kB / 1.387 GB, free: 14.62 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.5198, allocations: 1.331 MB / 1.389 GB, free: 13.28 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.5202, allocations: 0.4996 MB / 1.389 GB, free: 12.77 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004771/0.5207, allocations: 295.4 kB / 1.389 GB, free: 12.48 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5208, allocations: 309.1 kB / 1.39 GB, free: 12.17 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.5223, allocations: 0.9135 MB / 1.391 GB, free: 11.26 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.524, allocations: 1.318 MB / 1.392 GB, free: 9.77 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/0.5273, allocations: 2.426 MB / 1.394 GB, free: 7.172 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.5274, allocations: 4 kB / 1.394 GB, free: 7.168 MB / 1.092 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006488/0.5338, allocations: 3.441 MB / 1.398 GB, free: 3.707 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.5339, allocations: 8 kB / 1.398 GB, free: 3.699 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.5339, allocations: 12 kB / 1.398 GB, free: 3.688 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/0.5372, allocations: 1.193 MB / 1.399 GB, free: 2.492 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/0.5382, allocations: 255.5 kB / 1.399 GB, free: 2.242 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/0.5579, allocations: 13.54 MB / 1.412 GB, free: 4.352 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.5592, allocations: 91.97 kB / 1.412 GB, free: 4.262 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.5594, allocations: 64 kB / 1.412 GB, free: 4.199 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002144/0.5616, allocations: 1.118 MB / 1.414 GB, free: 3.07 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.562, allocations: 178.9 kB / 1.414 GB, free: 2.895 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00639/0.5684, allocations: 3.118 MB / 1.417 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.5684, allocations: 16 kB / 1.417 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.849e-05/0.5685, allocations: 15.94 kB / 1.417 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.5685, allocations: 11.97 kB / 1.417 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.5804, allocations: 6.17 MB / 1.423 GB, free: 9.414 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.5804, allocations: 4 kB / 1.423 GB, free: 9.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.581, allocations: 155.8 kB / 1.423 GB, free: 9.258 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/0.5839, allocations: 1.081 MB / 1.424 GB, free: 8.172 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.584, allocations: 24 kB / 1.424 GB, free: 8.148 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01811/0.6021, allocations: 13.24 MB / 1.437 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.6021, allocations: 11.94 kB / 1.437 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005713/0.6079, allocations: 3.116 MB / 1.44 GB, free: 7.363 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.6089, allocations: 358.8 kB / 1.44 GB, free: 7.012 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/0.6092, allocations: 36.36 kB / 1.44 GB, free: 6.977 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008338/0.6101, allocations: 79.89 kB / 1.441 GB, free: 6.898 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/0.6105, allocations: 132.6 kB / 1.441 GB, free: 6.766 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.6106, allocations: 44 kB / 1.441 GB, free: 6.723 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0014/0.612, allocations: 0.7632 MB / 1.441 GB, free: 5.957 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.612, allocations: 0 / 1.441 GB, free: 5.957 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002346/0.6143, allocations: 0.6602 MB / 1.442 GB, free: 5.297 MB / 1.139 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00612/0.6204, allocations: 3.709 MB / 1.446 GB, free: 1.488 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005564/0.626, allocations: 3.009 MB / 1.449 GB, free: 14.44 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.626, allocations: 0 / 1.449 GB, free: 14.44 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00328/0.6293, allocations: 1.873 MB / 1.45 GB, free: 12.53 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.6319, allocations: 0.509 MB / 1.451 GB, free: 12.04 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/0.6672, allocations: 19.18 MB / 1.47 GB, free: 8.266 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002565/0.6698, allocations: 2.336 MB / 1.472 GB, free: 5.902 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001052/0.6708, allocations: 350.1 kB / 1.472 GB, free: 5.555 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.6721, allocations: 1.011 MB / 1.473 GB, free: 4.543 MB / 1.17 GB Notification: Performance of SimCode: time 1.001e-06/0.6721, allocations: 0 / 1.473 GB, free: 4.543 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1252/0.7973, allocations: 54.17 MB / 1.526 GB, free: 15 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.98, allocations: 8.422 kB / 1.526 GB, free: 15 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.1029122590553]