Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001663/0.001663, allocations: 120 kB / 17.17 MB, free: 5.977 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.001926/0.001926, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.99/2.99, allocations: 0.5003 GB / 0.8026 GB, free: 6.824 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_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.002008/0.002008, allocations: 67.91 kB / 1.165 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9438/0.9458, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04133/0.9872, allocations: 38.61 MB / 1.378 GB, free: 6.227 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02196/1.009, allocations: 11.15 MB / 1.389 GB, free: 14.56 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004798/1.014, allocations: 204.5 kB / 1.389 GB, free: 14.47 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01262/1.027, allocations: 4.43 MB / 1.393 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009512/1.036, allocations: 2.329 MB / 1.396 GB, free: 10.37 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007852/1.044, allocations: 2.172 MB / 1.398 GB, free: 9.141 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01586/1.06, allocations: 9.278 MB / 1.407 GB, free: 4.926 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02119/1.081, allocations: 8.54 MB / 1.415 GB, free: 1.418 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009445/1.09, allocations: 4.107 MB / 1.419 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009753/1.1, allocations: 4.752 MB / 1.424 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003266/1.103, allocations: 0.822 MB / 1.425 GB, free: 12.12 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006547/1.11, allocations: 1.617 MB / 1.426 GB, free: 11.69 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.007484/1.117, allocations: 3.231 MB / 1.429 GB, free: 9.574 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01057/1.128, allocations: 3.651 MB / 1.433 GB, free: 7.023 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01947/1.147, allocations: 12.34 MB / 1.445 GB, free: 13.12 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.147, allocations: 0 / 1.445 GB, free: 13.12 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.174e-06/1.147, allocations: 0 / 1.445 GB, free: 13.12 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004041/1.148, allocations: 0 / 1.445 GB, free: 13.12 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02064/1.169, allocations: 6.482 MB / 1.451 GB, free: 6.562 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.169, allocations: 8.031 kB / 1.451 GB, free: 6.555 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001829/1.169, allocations: 151.6 kB / 1.451 GB, free: 6.406 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003243/1.172, allocations: 0.8255 MB / 1.452 GB, free: 5.57 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006795/1.179, allocations: 1.098 MB / 1.453 GB, free: 4.469 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008953/1.188, allocations: 3.628 MB / 1.457 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004877/1.188, allocations: 431.7 kB / 1.457 GB, free: 376 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/1.19, allocations: 0.5433 MB / 1.458 GB, free: 15.82 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/1.215, allocations: 9.374 MB / 1.467 GB, free: 6.117 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/1.215, allocations: 23.77 kB / 1.467 GB, free: 6.094 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001728/1.217, allocations: 248 kB / 1.467 GB, free: 5.852 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007365/1.217, allocations: 422.9 kB / 1.468 GB, free: 5.438 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/1.234, allocations: 7.123 MB / 1.474 GB, free: 14.3 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05572/1.289, allocations: 41.08 MB / 1.515 GB, free: 1.496 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005367/1.295, allocations: 2.901 MB / 1.517 GB, free: 14.59 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003682/1.299, allocations: 1.946 MB / 1.519 GB, free: 12.65 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/1.299, allocations: 22 kB / 1.519 GB, free: 12.63 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/1.299, allocations: 64.56 kB / 1.519 GB, free: 12.55 MB / 1.201 GB Notification: Performance of pre-optimization done (n=209): time 6.883e-06/1.299, allocations: 3.984 kB / 1.519 GB, free: 12.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=212): time 0.02808/1.327, allocations: 10.57 MB / 1.53 GB, free: 1.895 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/1.327, allocations: 85.33 kB / 1.53 GB, free: 1.801 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/1.33, allocations: 2.006 MB / 1.532 GB, free: 15.77 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004747/1.331, allocations: 61.7 kB / 1.532 GB, free: 15.71 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002087/1.333, allocations: 2.47 MB / 1.534 GB, free: 13.21 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001214/1.334, allocations: 0.7708 MB / 1.535 GB, free: 12.44 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009319/1.335, allocations: 481.5 kB / 1.535 GB, free: 11.96 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.335, allocations: 305.1 kB / 1.536 GB, free: 11.66 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/1.337, allocations: 1.372 MB / 1.537 GB, free: 10.29 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/1.34, allocations: 2.108 MB / 1.539 GB, free: 7.859 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005528/1.346, allocations: 3.762 MB / 1.543 GB, free: 3.789 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/1.346, allocations: 8 kB / 1.543 GB, free: 3.781 MB / 1.217 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009436/1.355, allocations: 5.027 MB / 1.548 GB, free: 14.73 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/1.355, allocations: 18.03 kB / 1.548 GB, free: 14.71 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/1.355, allocations: 20 kB / 1.548 GB, free: 14.7 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/1.359, allocations: 1.598 MB / 1.549 GB, free: 13.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/1.361, allocations: 455.2 kB / 1.55 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02589/1.387, allocations: 18.59 MB / 1.568 GB, free: 9.496 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/1.39, allocations: 143.9 kB / 1.568 GB, free: 9.355 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004649/1.39, allocations: 108 kB / 1.568 GB, free: 9.25 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004099/1.394, allocations: 1.946 MB / 1.57 GB, free: 7.293 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007878/1.395, allocations: 302.2 kB / 1.57 GB, free: 6.996 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008263/1.403, allocations: 4.392 MB / 1.575 GB, free: 2.57 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/1.403, allocations: 20 kB / 1.575 GB, free: 2.551 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/1.403, allocations: 20 kB / 1.575 GB, free: 2.531 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.028e-05/1.403, allocations: 11.91 kB / 1.575 GB, free: 2.52 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/1.422, allocations: 9.613 MB / 1.584 GB, free: 8.758 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/1.422, allocations: 4 kB / 1.584 GB, free: 8.754 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.423, allocations: 227.6 kB / 1.584 GB, free: 8.531 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003789/1.427, allocations: 1.439 MB / 1.586 GB, free: 7.082 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/1.427, allocations: 40 kB / 1.586 GB, free: 7.043 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02534/1.452, allocations: 18.58 MB / 1.604 GB, free: 3.902 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.452, allocations: 4 kB / 1.604 GB, free: 3.898 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008441/1.461, allocations: 4.511 MB / 1.608 GB, free: 15.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/1.463, allocations: 0.6436 MB / 1.609 GB, free: 14.64 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006206/1.463, allocations: 43.95 kB / 1.609 GB, free: 14.59 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/1.465, allocations: 115.9 kB / 1.609 GB, free: 14.48 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006305/1.466, allocations: 189.3 kB / 1.609 GB, free: 14.29 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.466, allocations: 60.19 kB / 1.609 GB, free: 14.23 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00224/1.468, allocations: 1.315 MB / 1.611 GB, free: 12.91 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.61e-07/1.468, allocations: 0 / 1.611 GB, free: 12.91 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004357/1.472, allocations: 1.141 MB / 1.612 GB, free: 11.77 MB / 1.295 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008624/1.481, allocations: 5.118 MB / 1.617 GB, free: 6.559 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008687/1.49, allocations: 4.539 MB / 1.621 GB, free: 1.965 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.49, allocations: 5 kB / 1.621 GB, free: 1.961 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005339/1.495, allocations: 2.812 MB / 1.624 GB, free: 15.11 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004905/1.5, allocations: 0.8992 MB / 1.625 GB, free: 14.22 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05867/1.559, allocations: 30.44 MB / 1.654 GB, free: 14.57 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00689/1.565, allocations: 3.694 MB / 1.658 GB, free: 10.85 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.002206/1.568, allocations: 0.5595 MB / 1.659 GB, free: 10.28 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00317/1.571, allocations: 1.944 MB / 1.661 GB, free: 8.336 MB / 1.342 GB Notification: Performance of SimCode: time 1.323e-06/1.571, allocations: 0 / 1.661 GB, free: 8.336 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1645/1.735, allocations: 85.93 MB / 1.744 GB, free: 3.391 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/17.35, allocations: 11.09 kB / 1.744 GB, free: 3.383 MB / 1.42 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 25.067222902958747]