Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001832/0.001832, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002529/0.002529, allocations: 217.8 kB / 23.03 MB, free: 4.922 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 / 256.8 MB, free: 7.809 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.716/2.716, allocations: 476.8 MB / 0.7715 GB, free: 3.871 MB / 0.6231 GB " [Timeout remaining time 177] 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.ACLineMatrix_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.002018/0.002018, allocations: 62.75 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3119, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02764/0.3395, allocations: 21.52 MB / 1.305 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0119/0.3514, allocations: 6.175 MB / 1.311 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/0.3536, allocations: 127.1 kB / 1.311 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004559/0.3581, allocations: 1.55 MB / 1.313 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.363, allocations: 1.731 MB / 1.314 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.3667, allocations: 1.354 MB / 1.316 GB, free: 10.1 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007409/0.3741, allocations: 5.94 MB / 1.322 GB, free: 4.145 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005906/0.38, allocations: 3.217 MB / 1.325 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004276/0.3843, allocations: 2.493 MB / 1.327 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005571/0.3899, allocations: 3.073 MB / 1.33 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001442/0.3913, allocations: 456 kB / 1.331 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.3942, allocations: 1.034 MB / 1.332 GB, free: 9.773 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003109/0.3973, allocations: 2.089 MB / 1.334 GB, free: 7.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00425/0.4016, allocations: 1.751 MB / 1.335 GB, free: 5.922 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009521/0.4111, allocations: 7.352 MB / 1.343 GB, free: 14.55 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4111, allocations: 4 kB / 1.343 GB, free: 14.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4111, allocations: 0 / 1.343 GB, free: 14.55 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002325/0.4114, allocations: 0 / 1.343 GB, free: 14.55 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.0089/0.4203, allocations: 3.841 MB / 1.346 GB, free: 10.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4203, allocations: 12.03 kB / 1.346 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000107/0.4204, allocations: 86.61 kB / 1.346 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001253/0.4217, allocations: 0.5014 MB / 1.347 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/0.4281, allocations: 1.231 MB / 1.348 GB, free: 8.812 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004562/0.4327, allocations: 2.304 MB / 1.35 GB, free: 6.461 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.4329, allocations: 242.4 kB / 1.351 GB, free: 6.223 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.4335, allocations: 316 kB / 1.351 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.4435, allocations: 6.446 MB / 1.357 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.028e-05/0.4436, allocations: 7.938 kB / 1.357 GB, free: 15.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000365/0.444, allocations: 139.9 kB / 1.357 GB, free: 15.01 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005193/0.4445, allocations: 410.3 kB / 1.358 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00741/0.4519, allocations: 4.666 MB / 1.362 GB, free: 9.934 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0254/0.4773, allocations: 18.66 MB / 1.38 GB, free: 6.758 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.4794, allocations: 1.365 MB / 1.382 GB, free: 5.379 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.4813, allocations: 1.429 MB / 1.383 GB, free: 3.949 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-05/0.4814, allocations: 13 kB / 1.383 GB, free: 3.938 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.4814, allocations: 47.48 kB / 1.383 GB, free: 3.879 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 3.436e-06/0.4814, allocations: 0 / 1.383 GB, free: 3.879 MB / 1.076 GB Notification: Performance of matching and sorting (n=179): time 0.1327/0.6141, allocations: 37.07 MB / 1.419 GB, free: 14.76 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.6142, allocations: 73.34 kB / 1.42 GB, free: 14.68 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.6162, allocations: 1.423 MB / 1.421 GB, free: 13.25 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002279/0.6165, allocations: 53.7 kB / 1.421 GB, free: 13.19 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.6177, allocations: 1.586 MB / 1.423 GB, free: 11.59 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000656/0.6183, allocations: 0.6429 MB / 1.423 GB, free: 10.94 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007596/0.6191, allocations: 383.5 kB / 1.424 GB, free: 10.55 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6192, allocations: 301.1 kB / 1.424 GB, free: 10.26 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.6218, allocations: 1.788 MB / 1.426 GB, free: 8.465 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003085/0.6248, allocations: 2.346 MB / 1.428 GB, free: 5.867 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006226/0.6311, allocations: 4.394 MB / 1.432 GB, free: 1.23 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.6311, allocations: 4 kB / 1.432 GB, free: 1.227 MB / 1.123 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01838/0.6495, allocations: 8.439 MB / 1.44 GB, free: 8.75 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.6495, allocations: 12 kB / 1.44 GB, free: 8.738 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/0.6495, allocations: 16 kB / 1.44 GB, free: 8.723 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01516/0.6647, allocations: 4.617 MB / 1.445 GB, free: 4.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.6659, allocations: 299.5 kB / 1.445 GB, free: 3.797 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04851/0.7144, allocations: 31.6 MB / 1.476 GB, free: 3.508 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.7164, allocations: 151.8 kB / 1.476 GB, free: 3.359 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.7166, allocations: 80 kB / 1.476 GB, free: 3.281 MB / 1.17 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 (157): * Single equations (assignments): 151 * 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002173/0.7188, allocations: 1.328 MB / 1.478 GB, free: 1.941 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000394/0.7192, allocations: 214.7 kB / 1.478 GB, free: 1.73 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/0.7367, allocations: 8.285 MB / 1.486 GB, free: 9.398 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.7367, allocations: 27.94 kB / 1.486 GB, free: 9.371 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.067e-05/0.7368, allocations: 24 kB / 1.486 GB, free: 9.348 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/0.7368, allocations: 7.969 kB / 1.486 GB, free: 9.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02418/0.761, allocations: 12.21 MB / 1.498 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-05/0.761, allocations: 8 kB / 1.498 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/0.7618, allocations: 163.7 kB / 1.498 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01461/0.7764, allocations: 4.463 MB / 1.502 GB, free: 8.312 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/0.7767, allocations: 36 kB / 1.502 GB, free: 8.277 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04791/0.8246, allocations: 31.21 MB / 1.533 GB, free: 8.367 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.8246, allocations: 11.94 kB / 1.533 GB, free: 8.355 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/0.8416, allocations: 8.101 MB / 1.541 GB, free: 128 kB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.8432, allocations: 0.5453 MB / 1.541 GB, free: 15.58 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/0.8436, allocations: 43.94 kB / 1.541 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.8449, allocations: 135.8 kB / 1.542 GB, free: 15.4 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008131/0.8457, allocations: 176.8 kB / 1.542 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.8459, allocations: 55.94 kB / 1.542 GB, free: 15.18 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001348/0.8472, allocations: 0.9548 MB / 1.543 GB, free: 14.23 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8472, allocations: 4 kB / 1.543 GB, free: 14.22 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00317/0.8504, allocations: 1.117 MB / 1.544 GB, free: 13.11 MB / 1.248 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 (80): * Single equations (assignments): 74 * 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0171/0.8675, allocations: 8.704 MB / 1.552 GB, free: 4.262 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0129/0.8804, allocations: 6.304 MB / 1.558 GB, free: 13.88 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.8804, allocations: 0 / 1.558 GB, free: 13.88 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.009559/0.89, allocations: 4.178 MB / 1.563 GB, free: 9.621 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.8929, allocations: 0.5375 MB / 1.563 GB, free: 9.098 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06185/0.9547, allocations: 33.55 MB / 1.596 GB, free: 6.613 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003054/0.9578, allocations: 2.17 MB / 1.598 GB, free: 4.402 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001154/0.9589, allocations: 384.5 kB / 1.598 GB, free: 4.023 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/0.9605, allocations: 1.218 MB / 1.599 GB, free: 2.805 MB / 1.295 GB Notification: Performance of SimCode: time 1.192e-06/0.9605, allocations: 0 / 1.599 GB, free: 2.805 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7209/1.681, allocations: 89.47 MB / 1.687 GB, free: 240.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/16.94, allocations: 6.234 kB / 1.687 GB, free: 240.8 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 24.129033293924294]