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.00124/0.00124, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001407/0.001407, allocations: 218.8 kB / 23.03 MB, free: 4.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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.225/3.225, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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="cs",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="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.00193/0.00193, allocations: 66.22 kB / 1.171 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3437, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0133/0.357, allocations: 9.648 MB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005653/0.3627, allocations: 3.014 MB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008194/0.3635, allocations: 47.69 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.3657, allocations: 0.6982 MB / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.3676, allocations: 0.7196 MB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.3694, allocations: 0.6457 MB / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003293/0.3727, allocations: 2.738 MB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.3748, allocations: 1.379 MB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.3765, allocations: 1.161 MB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.3788, allocations: 1.496 MB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004494/0.3793, allocations: 216 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009865/0.3803, allocations: 467.4 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.3814, allocations: 1.013 MB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.3825, allocations: 0.8288 MB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.3861, allocations: 3.434 MB / 1.372 GB, free: 4.359 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3861, allocations: 0 / 1.372 GB, free: 4.359 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3861, allocations: 0 / 1.372 GB, free: 4.359 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.661e-05/0.3861, allocations: 4 kB / 1.372 GB, free: 4.355 MB / 1.061 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.003822/0.39, allocations: 1.909 MB / 1.374 GB, free: 2.406 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.39, allocations: 12.03 kB / 1.374 GB, free: 2.395 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.464e-05/0.3901, allocations: 43.12 kB / 1.374 GB, free: 2.352 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003415/0.3904, allocations: 252.7 kB / 1.374 GB, free: 2.094 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005651/0.3961, allocations: 0.897 MB / 1.375 GB, free: 1.195 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.3986, allocations: 1.124 MB / 1.376 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.3987, allocations: 107.4 kB / 1.376 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/0.3991, allocations: 148.3 kB / 1.377 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005563/0.4047, allocations: 3.092 MB / 1.38 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.4047, allocations: 7.938 kB / 1.38 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.4049, allocations: 63.97 kB / 1.38 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/0.4052, allocations: 182.9 kB / 1.38 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004875/0.4101, allocations: 2.604 MB / 1.382 GB, free: 9.719 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.0215/0.4316, allocations: 9.32 MB / 1.391 GB, free: 172 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.4346, allocations: 1.224 MB / 1.393 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.4367, allocations: 0.9838 MB / 1.394 GB, free: 13.94 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.4368, allocations: 8.656 kB / 1.394 GB, free: 13.93 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.4369, allocations: 39.22 kB / 1.394 GB, free: 13.89 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 4.118e-06/0.4369, allocations: 0 / 1.394 GB, free: 13.89 MB / 1.092 GB Notification: Performance of matching and sorting (n=139): time 0.07269/0.5095, allocations: 18.88 MB / 1.412 GB, free: 10.98 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.5096, allocations: 68.66 kB / 1.412 GB, free: 10.9 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.5111, allocations: 0.9184 MB / 1.413 GB, free: 9.973 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001984/0.5113, allocations: 49.7 kB / 1.413 GB, free: 9.918 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006067/0.5119, allocations: 0.754 MB / 1.414 GB, free: 9.152 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006222/0.5125, allocations: 0.4996 MB / 1.414 GB, free: 8.648 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007949/0.5133, allocations: 295.5 kB / 1.415 GB, free: 8.352 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5135, allocations: 353.9 kB / 1.415 GB, free: 8 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.5156, allocations: 1.331 MB / 1.416 GB, free: 6.668 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.5179, allocations: 1.659 MB / 1.418 GB, free: 4.895 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004462/0.5224, allocations: 3.092 MB / 1.421 GB, free: 1.684 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.5224, allocations: 4 kB / 1.421 GB, free: 1.68 MB / 1.107 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0119/0.5343, allocations: 5.555 MB / 1.426 GB, free: 12.1 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.5343, allocations: 17.34 kB / 1.426 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.5344, allocations: 8 kB / 1.426 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008898/0.5433, allocations: 2.71 MB / 1.429 GB, free: 9.352 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/0.5441, allocations: 195.7 kB / 1.429 GB, free: 9.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03809/0.5822, allocations: 25 MB / 1.454 GB, free: 15.69 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.5836, allocations: 95.95 kB / 1.454 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.5838, allocations: 56 kB / 1.454 GB, free: 15.54 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.001194/0.585, allocations: 0.7326 MB / 1.454 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.5853, allocations: 123.2 kB / 1.455 GB, free: 14.68 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.5966, allocations: 5.314 MB / 1.46 GB, free: 9.328 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.5966, allocations: 16 kB / 1.46 GB, free: 9.312 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-05/0.5966, allocations: 16 kB / 1.46 GB, free: 9.297 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/0.5967, allocations: 11.95 kB / 1.46 GB, free: 9.285 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.6127, allocations: 8.252 MB / 1.468 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.6128, allocations: 4 kB / 1.468 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.6132, allocations: 119.8 kB / 1.468 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008482/0.6217, allocations: 2.587 MB / 1.47 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.6219, allocations: 32 kB / 1.47 GB, free: 14.17 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03462/0.6565, allocations: 23.46 MB / 1.493 GB, free: 6.25 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.6566, allocations: 11.94 kB / 1.493 GB, free: 6.238 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.6675, allocations: 5.167 MB / 1.498 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.6685, allocations: 427.1 kB / 1.499 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.6687, allocations: 32 kB / 1.499 GB, free: 0.543 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008597/0.6696, allocations: 72.28 kB / 1.499 GB, free: 484 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005186/0.6701, allocations: 128.9 kB / 1.499 GB, free: 352 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.6702, allocations: 36 kB / 1.499 GB, free: 316 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008738/0.6711, allocations: 0.6474 MB / 1.5 GB, free: 15.67 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6711, allocations: 3.938 kB / 1.5 GB, free: 15.66 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002282/0.6734, allocations: 0.7227 MB / 1.5 GB, free: 14.94 MB / 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.01103/0.6844, allocations: 5.753 MB / 1.506 GB, free: 9.098 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007178/0.6916, allocations: 4.09 MB / 1.51 GB, free: 4.957 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.6916, allocations: 0 / 1.51 GB, free: 4.957 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/0.6968, allocations: 2.603 MB / 1.513 GB, free: 2.305 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.6982, allocations: 223.6 kB / 1.513 GB, free: 2.09 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03837/0.7366, allocations: 21.33 MB / 1.534 GB, free: 12.29 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001455/0.7381, allocations: 1.113 MB / 1.535 GB, free: 11.13 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007857/0.7388, allocations: 333.4 kB / 1.535 GB, free: 10.8 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007162/0.7396, allocations: 0.5344 MB / 1.536 GB, free: 10.27 MB / 1.232 GB Notification: Performance of SimCode: time 9.12e-07/0.7396, allocations: 0 / 1.536 GB, free: 10.27 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/0.8468, allocations: 55.83 MB / 1.59 GB, free: 2.812 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.23, allocations: 10.36 kB / 1.59 GB, free: 2.809 MB / 1.279 GB " [Timeout remaining time 286] (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.291523523977958]