Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001324/0.001324, allocations: 120.9 kB / 17.16 MB, free: 5.914 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.001389/0.001389, allocations: 208 kB / 20.13 MB, free: 2.969 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.931/2.931, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 MB / 0.6387 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.002031/0.002031, allocations: 63.91 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9431/0.9451, allocations: 179 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01988/0.965, allocations: 20.6 MB / 1.36 GB, free: 2.402 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.9765, allocations: 6.552 MB / 1.367 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.9787, allocations: 112 kB / 1.367 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006314/0.985, allocations: 2.284 MB / 1.369 GB, free: 12.5 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.989, allocations: 1.24 MB / 1.37 GB, free: 11.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004473/0.9934, allocations: 1.285 MB / 1.371 GB, free: 11.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007652/1.001, allocations: 4.846 MB / 1.376 GB, free: 8.828 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007631/1.009, allocations: 4.241 MB / 1.38 GB, free: 7.133 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004518/1.013, allocations: 2.143 MB / 1.382 GB, free: 6.164 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005424/1.019, allocations: 2.475 MB / 1.385 GB, free: 5.145 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001526/1.02, allocations: 429.2 kB / 1.385 GB, free: 5.145 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/1.024, allocations: 1.022 MB / 1.386 GB, free: 4.914 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003453/1.027, allocations: 1.711 MB / 1.388 GB, free: 4.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005236/1.032, allocations: 1.908 MB / 1.39 GB, free: 2.957 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01121/1.044, allocations: 6.538 MB / 1.396 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.044, allocations: 1.406 kB / 1.396 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.264e-06/1.044, allocations: 4 kB / 1.396 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002361/1.044, allocations: 0 / 1.396 GB, free: 0.6758 MB / 1.076 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.01208/1.056, allocations: 3.537 MB / 1.4 GB, free: 14.23 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.056, allocations: 10.62 kB / 1.4 GB, free: 14.23 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001237/1.056, allocations: 83.16 kB / 1.4 GB, free: 14.22 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001476/1.058, allocations: 453.8 kB / 1.4 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004744/1.062, allocations: 0.6574 MB / 1.401 GB, free: 13.57 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004887/1.067, allocations: 2.047 MB / 1.403 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/1.068, allocations: 229.7 kB / 1.403 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008478/1.068, allocations: 296 kB / 1.403 GB, free: 11.99 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/1.078, allocations: 4.892 MB / 1.408 GB, free: 8.965 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.497e-05/1.079, allocations: 9.062 kB / 1.408 GB, free: 8.961 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003844/1.079, allocations: 126.1 kB / 1.408 GB, free: 8.867 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004472/1.079, allocations: 227.9 kB / 1.408 GB, free: 8.809 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007155/1.087, allocations: 3.754 MB / 1.412 GB, free: 6.875 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/1.111, allocations: 21.44 MB / 1.433 GB, free: 3.004 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/1.113, allocations: 1.231 MB / 1.434 GB, free: 2.348 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/1.115, allocations: 0.9836 MB / 1.435 GB, free: 1.844 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-05/1.115, allocations: 12.09 kB / 1.435 GB, free: 1.844 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/1.115, allocations: 48.47 kB / 1.435 GB, free: 1.793 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 2.936e-06/1.115, allocations: 0 / 1.435 GB, free: 1.793 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.02645/1.141, allocations: 8.667 MB / 1.444 GB, free: 12.11 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/1.141, allocations: 64.72 kB / 1.444 GB, free: 12.04 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.143, allocations: 1.134 MB / 1.445 GB, free: 10.9 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/1.143, allocations: 45.7 kB / 1.445 GB, free: 10.85 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009821/1.144, allocations: 1.339 MB / 1.446 GB, free: 9.496 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004903/1.145, allocations: 0.4996 MB / 1.447 GB, free: 8.992 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005101/1.145, allocations: 287.5 kB / 1.447 GB, free: 8.707 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.145, allocations: 309.1 kB / 1.447 GB, free: 8.402 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.147, allocations: 0.9135 MB / 1.448 GB, free: 7.488 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/1.148, allocations: 1.326 MB / 1.449 GB, free: 5.988 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003354/1.152, allocations: 2.426 MB / 1.452 GB, free: 3.395 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.152, allocations: 8 kB / 1.452 GB, free: 3.387 MB / 1.123 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006509/1.158, allocations: 3.433 MB / 1.455 GB, free: 15.93 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/1.158, allocations: 13.72 kB / 1.455 GB, free: 15.92 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/1.158, allocations: 12 kB / 1.455 GB, free: 15.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/1.162, allocations: 1.176 MB / 1.456 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.163, allocations: 259.5 kB / 1.457 GB, free: 14.47 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/1.182, allocations: 13.86 MB / 1.47 GB, free: 200 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.184, allocations: 88.34 kB / 1.47 GB, free: 112 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/1.184, allocations: 67.98 kB / 1.47 GB, free: 44 kB / 1.139 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.002322/1.186, allocations: 1.11 MB / 1.471 GB, free: 14.92 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/1.186, allocations: 170.9 kB / 1.472 GB, free: 14.75 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006259/1.193, allocations: 3.138 MB / 1.475 GB, free: 11.59 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/1.193, allocations: 19.94 kB / 1.475 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.193, allocations: 12 kB / 1.475 GB, free: 11.56 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/1.193, allocations: 11.91 kB / 1.475 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/1.204, allocations: 6.206 MB / 1.481 GB, free: 5.203 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/1.204, allocations: 8 kB / 1.481 GB, free: 5.195 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/1.205, allocations: 143.8 kB / 1.481 GB, free: 5.055 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003093/1.208, allocations: 1.067 MB / 1.482 GB, free: 3.98 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/1.208, allocations: 28 kB / 1.482 GB, free: 3.953 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/1.227, allocations: 13.53 MB / 1.495 GB, free: 6 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/1.227, allocations: 11.94 kB / 1.495 GB, free: 5.988 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/1.233, allocations: 3.12 MB / 1.498 GB, free: 2.785 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009456/1.234, allocations: 431.9 kB / 1.499 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/1.234, allocations: 32 kB / 1.499 GB, free: 2.312 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/1.235, allocations: 79.89 kB / 1.499 GB, free: 2.234 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/1.235, allocations: 124.7 kB / 1.499 GB, free: 2.113 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-05/1.235, allocations: 44 kB / 1.499 GB, free: 2.07 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001198/1.236, allocations: 0.7632 MB / 1.5 GB, free: 1.305 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.236, allocations: 4 kB / 1.5 GB, free: 1.301 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002575/1.239, allocations: 0.6602 MB / 1.5 GB, free: 0.6406 MB / 1.17 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.006049/1.245, allocations: 3.709 MB / 1.504 GB, free: 12.83 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005287/1.25, allocations: 3.017 MB / 1.507 GB, free: 9.781 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.25, allocations: 0 / 1.507 GB, free: 9.781 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003353/1.254, allocations: 1.873 MB / 1.509 GB, free: 7.871 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.256, allocations: 0.4985 MB / 1.509 GB, free: 7.387 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03315/1.289, allocations: 19.12 MB / 1.528 GB, free: 3.68 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/1.292, allocations: 2.344 MB / 1.53 GB, free: 1.301 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00115/1.293, allocations: 346.1 kB / 1.53 GB, free: 0.957 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/1.295, allocations: 1.011 MB / 1.531 GB, free: 15.94 MB / 1.217 GB Notification: Performance of SimCode: time 1.233e-06/1.295, allocations: 0 / 1.531 GB, free: 15.94 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/1.406, allocations: 52.71 MB / 1.583 GB, free: 11.88 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/14.59, allocations: 18.81 kB / 1.583 GB, free: 11.86 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.62155081500532]