Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001257/0.001257, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001486/0.001486, allocations: 216 kB / 22.26 MB, free: 5.082 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 8.004 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 3.167/3.167, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 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.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",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.002055/0.002055, allocations: 64.72 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3729, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.02107/0.394, allocations: 10.48 MB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008326/0.4023, allocations: 3.166 MB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009376/0.4032, allocations: 43.69 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.4058, allocations: 0.7115 MB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.4081, allocations: 0.7273 MB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.4102, allocations: 0.6576 MB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004494/0.4147, allocations: 2.734 MB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002911/0.4176, allocations: 1.383 MB / 1.372 GB, free: 4.449 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.4202, allocations: 1.153 MB / 1.373 GB, free: 3.293 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003425/0.4236, allocations: 1.492 MB / 1.375 GB, free: 1.797 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005615/0.4241, allocations: 216 kB / 1.375 GB, free: 1.586 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.4256, allocations: 495.3 kB / 1.376 GB, free: 1.102 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.4272, allocations: 1.017 MB / 1.377 GB, free: 84 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.4289, allocations: 1.015 MB / 1.378 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005434/0.4344, allocations: 3.419 MB / 1.381 GB, free: 11.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4344, allocations: 0 / 1.381 GB, free: 11.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4344, allocations: 0 / 1.381 GB, free: 11.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.061e-05/0.4345, allocations: 0 / 1.381 GB, free: 11.63 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005568/0.44, allocations: 1.913 MB / 1.383 GB, free: 9.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4401, allocations: 11.97 kB / 1.383 GB, free: 9.668 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005418/0.4406, allocations: 252.7 kB / 1.383 GB, free: 9.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009523/0.4501, allocations: 0.8931 MB / 1.384 GB, free: 8.516 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004111/0.4542, allocations: 1.128 MB / 1.385 GB, free: 7.352 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.4544, allocations: 111.3 kB / 1.385 GB, free: 7.242 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005557/0.455, allocations: 140.3 kB / 1.385 GB, free: 7.105 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007973/0.4629, allocations: 3.029 MB / 1.388 GB, free: 3.977 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-05/0.463, allocations: 4 kB / 1.388 GB, free: 3.973 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.4633, allocations: 59.98 kB / 1.388 GB, free: 3.914 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003722/0.4637, allocations: 175 kB / 1.388 GB, free: 3.742 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006975/0.4706, allocations: 2.612 MB / 1.391 GB, free: 1.125 MB / 1.076 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.02779/0.4984, allocations: 13.39 MB / 1.404 GB, free: 2.645 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.5017, allocations: 1.224 MB / 1.405 GB, free: 1.41 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00234/0.5041, allocations: 0.981 MB / 1.406 GB, free: 436 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.5042, allocations: 8.656 kB / 1.406 GB, free: 428 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.5042, allocations: 43.22 kB / 1.406 GB, free: 376 kB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 4.088e-06/0.5042, allocations: 0 / 1.406 GB, free: 376 kB / 1.092 GB Notification: Performance of matching and sorting (n=139): time 0.07806/0.5823, allocations: 18.88 MB / 1.425 GB, free: 13.46 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.5824, allocations: 72.72 kB / 1.425 GB, free: 13.37 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.5838, allocations: 0.9145 MB / 1.426 GB, free: 12.44 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.584, allocations: 49.7 kB / 1.426 GB, free: 12.39 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006005/0.5846, allocations: 0.7462 MB / 1.426 GB, free: 11.63 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005909/0.5852, allocations: 0.5035 MB / 1.427 GB, free: 11.12 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007001/0.5859, allocations: 295.5 kB / 1.427 GB, free: 10.83 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.5861, allocations: 349.9 kB / 1.428 GB, free: 10.48 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.5883, allocations: 1.339 MB / 1.429 GB, free: 9.145 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/0.5908, allocations: 1.663 MB / 1.43 GB, free: 7.371 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004858/0.5957, allocations: 3.092 MB / 1.433 GB, free: 4.16 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.5957, allocations: 0 / 1.433 GB, free: 4.16 MB / 1.123 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01341/0.6091, allocations: 5.559 MB / 1.439 GB, free: 14.57 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.6091, allocations: 13.97 kB / 1.439 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.6092, allocations: 16 kB / 1.439 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00956/0.6187, allocations: 2.71 MB / 1.442 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/0.6196, allocations: 191.7 kB / 1.442 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04283/0.6624, allocations: 25.34 MB / 1.466 GB, free: 1.832 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.6639, allocations: 91.95 kB / 1.467 GB, free: 1.742 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/0.6642, allocations: 56 kB / 1.467 GB, free: 1.688 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001475/0.6657, allocations: 0.7393 MB / 1.467 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/0.666, allocations: 123.2 kB / 1.467 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.6788, allocations: 5.31 MB / 1.473 GB, free: 11.47 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.6788, allocations: 12 kB / 1.473 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.915e-05/0.6789, allocations: 20 kB / 1.473 GB, free: 11.44 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/0.6789, allocations: 7.969 kB / 1.473 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/0.6976, allocations: 8.598 MB / 1.481 GB, free: 2.719 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.6977, allocations: 7.984 kB / 1.481 GB, free: 2.711 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/0.6982, allocations: 115.8 kB / 1.481 GB, free: 2.598 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009233/0.7074, allocations: 2.603 MB / 1.484 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.7076, allocations: 27.94 kB / 1.484 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03952/0.7471, allocations: 23.77 MB / 1.507 GB, free: 7.723 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.7471, allocations: 4 kB / 1.507 GB, free: 7.719 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.7597, allocations: 5.179 MB / 1.512 GB, free: 2.457 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/0.7612, allocations: 427.1 kB / 1.512 GB, free: 2.039 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/0.7616, allocations: 24 kB / 1.512 GB, free: 2.016 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.7626, allocations: 83.83 kB / 1.513 GB, free: 1.934 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/0.7632, allocations: 129 kB / 1.513 GB, free: 1.805 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.7633, allocations: 35.94 kB / 1.513 GB, free: 1.77 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00107/0.7644, allocations: 0.6473 MB / 1.513 GB, free: 1.121 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.7644, allocations: 0 / 1.513 GB, free: 1.121 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002712/0.7671, allocations: 0.7227 MB / 1.514 GB, free: 408 kB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01257/0.7797, allocations: 5.75 MB / 1.52 GB, free: 10.55 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008278/0.7879, allocations: 4.09 MB / 1.524 GB, free: 6.418 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/0.788, allocations: 8.188 kB / 1.524 GB, free: 6.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005666/0.7936, allocations: 2.607 MB / 1.526 GB, free: 3.75 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.7952, allocations: 225.1 kB / 1.526 GB, free: 3.539 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04404/0.8392, allocations: 21.35 MB / 1.547 GB, free: 13.73 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.8416, allocations: 1.696 MB / 1.549 GB, free: 12 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009946/0.8426, allocations: 329.4 kB / 1.549 GB, free: 11.67 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008814/0.8435, allocations: 0.5305 MB / 1.55 GB, free: 11.14 MB / 1.248 GB Notification: Performance of SimCode: time 1.283e-06/0.8435, allocations: 0 / 1.55 GB, free: 11.14 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/0.9634, allocations: 54.59 MB / 1.603 GB, free: 4.785 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.55, allocations: 14.97 kB / 1.603 GB, free: 4.777 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.800324843963608]