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.001345/0.001345, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.001524/0.001524, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.907/2.907, allocations: 476.7 MB / 0.7678 GB, free: 9.434 MB / 0.6075 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="cs",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="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.002041/0.002041, allocations: 71.88 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9641/0.9661, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02784/0.994, allocations: 20.6 MB / 1.299 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01314/1.007, allocations: 6.553 MB / 1.305 GB, free: 9.398 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/1.01, allocations: 111.1 kB / 1.306 GB, free: 9.348 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0067/1.016, allocations: 2.276 MB / 1.308 GB, free: 7.992 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004639/1.021, allocations: 1.248 MB / 1.309 GB, free: 7.215 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004566/1.025, allocations: 1.292 MB / 1.31 GB, free: 6.488 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008251/1.034, allocations: 4.854 MB / 1.315 GB, free: 4.297 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007421/1.041, allocations: 4.234 MB / 1.319 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/1.045, allocations: 2.147 MB / 1.321 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005032/1.05, allocations: 2.475 MB / 1.324 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001348/1.052, allocations: 429.1 kB / 1.324 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/1.055, allocations: 1.03 MB / 1.325 GB, free: 384 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002756/1.058, allocations: 1.704 MB / 1.327 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0045/1.062, allocations: 1.916 MB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/1.073, allocations: 6.53 MB / 1.335 GB, free: 9.453 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/1.073, allocations: 0 / 1.335 GB, free: 9.453 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/1.073, allocations: 3.938 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002636/1.073, allocations: 5.406 kB / 1.335 GB, free: 9.445 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.01111/1.085, allocations: 3.537 MB / 1.338 GB, free: 7.004 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.085, allocations: 9.781 kB / 1.338 GB, free: 7.004 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001222/1.085, allocations: 79.06 kB / 1.339 GB, free: 6.996 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008727/1.086, allocations: 458.7 kB / 1.339 GB, free: 6.668 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00405/1.09, allocations: 0.6534 MB / 1.34 GB, free: 6.348 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004743/1.094, allocations: 2.059 MB / 1.342 GB, free: 4.965 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/1.095, allocations: 222 kB / 1.342 GB, free: 4.863 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008157/1.095, allocations: 292.4 kB / 1.342 GB, free: 4.766 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/1.106, allocations: 4.888 MB / 1.347 GB, free: 1.746 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/1.106, allocations: 17.39 kB / 1.347 GB, free: 1.734 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004139/1.107, allocations: 126.7 kB / 1.347 GB, free: 1.641 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000465/1.107, allocations: 227.5 kB / 1.347 GB, free: 1.582 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007705/1.115, allocations: 3.75 MB / 1.351 GB, free: 15.65 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02928/1.144, allocations: 21.46 MB / 1.372 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/1.146, allocations: 1.229 MB / 1.373 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/1.148, allocations: 0.9791 MB / 1.374 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-05/1.148, allocations: 16.98 kB / 1.374 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/1.148, allocations: 51.56 kB / 1.374 GB, free: 8.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=107): time 4.548e-06/1.148, allocations: 0 / 1.374 GB, free: 8.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.02573/1.174, allocations: 8.645 MB / 1.383 GB, free: 15.88 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.174, allocations: 64.72 kB / 1.383 GB, free: 15.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/1.176, allocations: 1.134 MB / 1.384 GB, free: 14.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/1.176, allocations: 49.7 kB / 1.384 GB, free: 14.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000951/1.177, allocations: 1.335 MB / 1.385 GB, free: 13.26 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004528/1.177, allocations: 0.4996 MB / 1.386 GB, free: 12.76 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005095/1.178, allocations: 295.4 kB / 1.386 GB, free: 12.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.178, allocations: 305.1 kB / 1.386 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.179, allocations: 0.9096 MB / 1.387 GB, free: 11.25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/1.181, allocations: 1.33 MB / 1.388 GB, free: 9.746 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/1.184, allocations: 2.426 MB / 1.391 GB, free: 7.152 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.184, allocations: 4 kB / 1.391 GB, free: 7.148 MB / 1.076 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006651/1.191, allocations: 3.422 MB / 1.394 GB, free: 3.707 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.191, allocations: 16 kB / 1.394 GB, free: 3.691 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.191, allocations: 12 kB / 1.394 GB, free: 3.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003497/1.194, allocations: 1.191 MB / 1.395 GB, free: 2.484 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/1.195, allocations: 255.6 kB / 1.395 GB, free: 2.234 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01959/1.215, allocations: 13.86 MB / 1.409 GB, free: 3.953 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.217, allocations: 87.98 kB / 1.409 GB, free: 3.867 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/1.217, allocations: 67.98 kB / 1.409 GB, free: 3.801 MB / 1.092 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.00201/1.219, allocations: 1.114 MB / 1.41 GB, free: 2.676 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/1.219, allocations: 174.9 kB / 1.41 GB, free: 2.504 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006257/1.225, allocations: 3.13 MB / 1.413 GB, free: 15.35 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/1.225, allocations: 19.92 kB / 1.413 GB, free: 15.33 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.431e-05/1.225, allocations: 12 kB / 1.413 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/1.226, allocations: 7.969 kB / 1.413 GB, free: 15.31 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/1.237, allocations: 6.206 MB / 1.42 GB, free: 8.969 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.238, allocations: 8.125 kB / 1.42 GB, free: 8.961 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/1.238, allocations: 143.8 kB / 1.42 GB, free: 8.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00317/1.241, allocations: 1.071 MB / 1.421 GB, free: 7.742 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.241, allocations: 24 kB / 1.421 GB, free: 7.719 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/1.261, allocations: 13.55 MB / 1.434 GB, free: 9.758 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/1.261, allocations: 11.98 kB / 1.434 GB, free: 9.746 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005784/1.266, allocations: 3.124 MB / 1.437 GB, free: 6.531 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.267, allocations: 435.9 kB / 1.437 GB, free: 6.086 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/1.268, allocations: 28 kB / 1.437 GB, free: 6.059 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008954/1.269, allocations: 83.89 kB / 1.438 GB, free: 5.977 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000436/1.269, allocations: 120.7 kB / 1.438 GB, free: 5.859 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-05/1.269, allocations: 36 kB / 1.438 GB, free: 5.824 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00123/1.27, allocations: 0.7749 MB / 1.438 GB, free: 5.047 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.27, allocations: 0 / 1.438 GB, free: 5.047 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002431/1.273, allocations: 0.6562 MB / 1.439 GB, free: 4.391 MB / 1.123 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.005938/1.279, allocations: 3.709 MB / 1.443 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005254/1.284, allocations: 3.017 MB / 1.446 GB, free: 13.53 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.284, allocations: 0 / 1.446 GB, free: 13.53 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003317/1.287, allocations: 1.888 MB / 1.448 GB, free: 11.61 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/1.29, allocations: 0.4938 MB / 1.448 GB, free: 11.12 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03368/1.323, allocations: 19.12 MB / 1.467 GB, free: 7.422 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/1.326, allocations: 2.348 MB / 1.469 GB, free: 5.039 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001092/1.327, allocations: 342.1 kB / 1.469 GB, free: 4.699 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/1.329, allocations: 1.015 MB / 1.47 GB, free: 3.684 MB / 1.154 GB Notification: Performance of SimCode: time 1.102e-06/1.329, allocations: 3.938 kB / 1.47 GB, free: 3.68 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/1.432, allocations: 52.71 MB / 1.522 GB, free: 15.66 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.5, allocations: 4 kB / 1.522 GB, free: 15.66 MB / 1.217 GB " [Timeout remaining time 285] (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: 21.63553204498021]