Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001652/0.001652, allocations: 116.8 kB / 17.17 MB, free: 6 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.001867/0.001867, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.503/1.503, 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 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.945/2.945, allocations: 0.49 GB / 0.7923 GB, free: 1.305 MB / 0.6231 GB " [Timeout remaining time 176] 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_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.002132/0.002132, allocations: 67.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9396/0.9417, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03407/0.9758, allocations: 33.86 MB / 1.355 GB, free: 1.797 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02832/1.004, allocations: 15 MB / 1.369 GB, free: 7.418 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00564/1.01, allocations: 204 kB / 1.369 GB, free: 7.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01162/1.021, allocations: 3.713 MB / 1.373 GB, free: 5.113 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0129/1.034, allocations: 2.988 MB / 1.376 GB, free: 3.273 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.009026/1.043, allocations: 2.332 MB / 1.378 GB, free: 1.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01691/1.06, allocations: 8.809 MB / 1.387 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01826/1.078, allocations: 7.23 MB / 1.394 GB, free: 11.04 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01326/1.092, allocations: 4.062 MB / 1.398 GB, free: 9.305 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/1.103, allocations: 4.264 MB / 1.402 GB, free: 7.527 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003768/1.107, allocations: 0.7165 MB / 1.403 GB, free: 7.527 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008163/1.115, allocations: 1.754 MB / 1.404 GB, free: 7.121 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.007634/1.123, allocations: 2.893 MB / 1.407 GB, free: 5.867 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01244/1.135, allocations: 3.391 MB / 1.411 GB, free: 3.715 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02349/1.158, allocations: 11.22 MB / 1.422 GB, free: 12.98 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.158, allocations: 1.031 kB / 1.422 GB, free: 12.98 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.204e-06/1.158, allocations: 0 / 1.422 GB, free: 12.98 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004348/1.159, allocations: 3.938 kB / 1.422 GB, free: 12.98 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02294/1.182, allocations: 6.136 MB / 1.428 GB, free: 8.84 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.182, allocations: 13.48 kB / 1.428 GB, free: 8.836 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002535/1.182, allocations: 132.8 kB / 1.428 GB, free: 8.824 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0034/1.186, allocations: 0.7239 MB / 1.428 GB, free: 8.309 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009566/1.195, allocations: 1.169 MB / 1.43 GB, free: 7.75 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/1.206, allocations: 3.536 MB / 1.433 GB, free: 5.418 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004932/1.207, allocations: 378.5 kB / 1.433 GB, free: 5.242 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/1.21, allocations: 497.4 kB / 1.434 GB, free: 5.074 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02518/1.235, allocations: 8.009 MB / 1.442 GB, free: 14.19 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/1.235, allocations: 27.77 kB / 1.442 GB, free: 14.16 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000874/1.236, allocations: 216 kB / 1.442 GB, free: 13.95 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001217/1.237, allocations: 437.6 kB / 1.442 GB, free: 13.52 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/1.252, allocations: 6.085 MB / 1.448 GB, free: 7.426 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05113/1.303, allocations: 34.96 MB / 1.482 GB, free: 1.301 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003263/1.306, allocations: 1.921 MB / 1.484 GB, free: 15.38 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/1.309, allocations: 1.756 MB / 1.486 GB, free: 13.62 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/1.309, allocations: 21.94 kB / 1.486 GB, free: 13.6 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.197e-05/1.309, allocations: 52.56 kB / 1.486 GB, free: 13.54 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 4.188e-06/1.309, allocations: 0 / 1.486 GB, free: 13.54 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1637/1.473, allocations: 38.86 MB / 1.524 GB, free: 6.586 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/1.473, allocations: 81.58 kB / 1.524 GB, free: 6.492 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004026/1.477, allocations: 2.27 MB / 1.526 GB, free: 4.207 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005159/1.478, allocations: 73.7 kB / 1.526 GB, free: 4.129 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001912/1.479, allocations: 2.342 MB / 1.529 GB, free: 1.766 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/1.481, allocations: 0.9798 MB / 1.53 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/1.482, allocations: 0.5063 MB / 1.53 GB, free: 268 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.482, allocations: 305.1 kB / 1.53 GB, free: 15.96 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/1.485, allocations: 1.977 MB / 1.532 GB, free: 13.98 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00392/1.489, allocations: 2.599 MB / 1.535 GB, free: 11.14 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007808/1.497, allocations: 4.933 MB / 1.54 GB, free: 5.934 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/1.497, allocations: 4 kB / 1.54 GB, free: 5.93 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01672/1.514, allocations: 7.646 MB / 1.547 GB, free: 14.21 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/1.514, allocations: 16.06 kB / 1.547 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/1.514, allocations: 16 kB / 1.547 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/1.524, allocations: 3.217 MB / 1.55 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/1.526, allocations: 403.3 kB / 1.551 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0499/1.576, allocations: 33.91 MB / 1.584 GB, free: 7.801 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/1.579, allocations: 163.8 kB / 1.584 GB, free: 7.641 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004534/1.58, allocations: 108 kB / 1.584 GB, free: 7.535 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003959/1.584, allocations: 1.795 MB / 1.586 GB, free: 5.73 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009746/1.585, allocations: 357.7 kB / 1.586 GB, free: 5.379 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/1.6, allocations: 7.239 MB / 1.593 GB, free: 14.05 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.148e-05/1.6, allocations: 28 kB / 1.593 GB, free: 14.03 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.032e-05/1.601, allocations: 28 kB / 1.593 GB, free: 14 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.853e-05/1.601, allocations: 15.94 kB / 1.593 GB, free: 13.98 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/1.629, allocations: 12.81 MB / 1.606 GB, free: 1.004 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/1.629, allocations: 4 kB / 1.606 GB, free: 1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/1.63, allocations: 232 kB / 1.606 GB, free: 0.7734 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009015/1.639, allocations: 2.854 MB / 1.609 GB, free: 13.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003902/1.64, allocations: 52 kB / 1.609 GB, free: 13.85 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04886/1.689, allocations: 32.71 MB / 1.641 GB, free: 12.29 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.689, allocations: 11.94 kB / 1.641 GB, free: 12.28 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/1.704, allocations: 6.79 MB / 1.647 GB, free: 5.281 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002522/1.706, allocations: 0.7917 MB / 1.648 GB, free: 4.469 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008585/1.707, allocations: 48 kB / 1.648 GB, free: 4.422 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/1.709, allocations: 175.7 kB / 1.648 GB, free: 4.25 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009766/1.71, allocations: 253.5 kB / 1.649 GB, free: 4 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/1.71, allocations: 76 kB / 1.649 GB, free: 3.926 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002435/1.713, allocations: 1.521 MB / 1.65 GB, free: 2.402 MB / 1.326 GB Notification: Performance of sort global known variables: time 8.1e-08/1.713, allocations: 0 / 1.65 GB, free: 2.402 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.005235/1.718, allocations: 1.367 MB / 1.652 GB, free: 1.035 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01397/1.732, allocations: 7.425 MB / 1.659 GB, free: 9.387 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.745, allocations: 6.563 MB / 1.665 GB, free: 2.723 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.745, allocations: 0 / 1.665 GB, free: 2.723 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.008587/1.754, allocations: 4.261 MB / 1.669 GB, free: 14.39 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0062/1.76, allocations: 1.104 MB / 1.67 GB, free: 13.32 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08603/1.846, allocations: 38.96 MB / 1.708 GB, free: 5.246 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006091/1.852, allocations: 3.643 MB / 1.712 GB, free: 1.57 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.002578/1.855, allocations: 0.5595 MB / 1.713 GB, free: 1.008 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002957/1.858, allocations: 1.972 MB / 1.715 GB, free: 15.04 MB / 1.404 GB Notification: Performance of SimCode: time 1.744e-06/1.858, allocations: 0 / 1.715 GB, free: 15.04 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2051/2.063, allocations: 112.4 MB / 1.824 GB, free: 15.83 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.09/19.15, allocations: 14.66 kB / 1.824 GB, free: 15.82 MB / 1.514 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 26.956929857027717]