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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.165/3.165, allocations: 497.2 MB / 0.7811 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.59 kB / 1.134 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3758, allocations: 173.9 MB / 1.304 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01392/0.3897, allocations: 10.16 MB / 1.314 GB, free: 7.441 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005821/0.3955, allocations: 3.06 MB / 1.317 GB, free: 4.371 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006356/0.3962, allocations: 43.81 kB / 1.317 GB, free: 4.328 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.3981, allocations: 0.6997 MB / 1.318 GB, free: 3.625 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.3997, allocations: 0.7234 MB / 1.318 GB, free: 2.898 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.4014, allocations: 0.6468 MB / 1.319 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004018/0.4054, allocations: 2.734 MB / 1.322 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.408, allocations: 1.906 MB / 1.323 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.41, allocations: 1.137 MB / 1.325 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.4124, allocations: 1.496 MB / 1.326 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003396/0.4127, allocations: 216 kB / 1.326 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.4137, allocations: 499.3 kB / 1.327 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.4149, allocations: 1.013 MB / 1.328 GB, free: 9.211 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.4162, allocations: 1.015 MB / 1.329 GB, free: 8.191 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004632/0.4208, allocations: 3.419 MB / 1.332 GB, free: 4.762 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4208, allocations: 0 / 1.332 GB, free: 4.762 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4208, allocations: 0 / 1.332 GB, free: 4.762 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.226e-05/0.4209, allocations: 0 / 1.332 GB, free: 4.762 MB / 1.029 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.004301/0.4252, allocations: 1.984 MB / 1.334 GB, free: 2.719 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.4253, allocations: 8.625 kB / 1.334 GB, free: 2.711 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003677/0.4256, allocations: 248.7 kB / 1.334 GB, free: 2.457 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005639/0.4313, allocations: 0.9009 MB / 1.335 GB, free: 1.555 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.4345, allocations: 1.165 MB / 1.336 GB, free: 352 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.4346, allocations: 111.3 kB / 1.336 GB, free: 240 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003897/0.435, allocations: 144.3 kB / 1.337 GB, free: 96 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005276/0.4403, allocations: 3.021 MB / 1.339 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.4403, allocations: 0 / 1.339 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.4405, allocations: 71.97 kB / 1.34 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/0.4407, allocations: 179 kB / 1.34 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004468/0.4452, allocations: 2.608 MB / 1.342 GB, free: 10.12 MB / 1.045 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.01899/0.4642, allocations: 13.5 MB / 1.355 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.4662, allocations: 1.221 MB / 1.357 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.4677, allocations: 0.9812 MB / 1.358 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.4677, allocations: 8.656 kB / 1.358 GB, free: 9.289 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.4678, allocations: 43.22 kB / 1.358 GB, free: 9.238 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.655e-06/0.4678, allocations: 0 / 1.358 GB, free: 9.238 MB / 1.061 GB Notification: Performance of matching and sorting (n=139): time 0.06915/0.5369, allocations: 19.34 MB / 1.377 GB, free: 5.762 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.537, allocations: 72.66 kB / 1.377 GB, free: 5.676 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.5384, allocations: 0.9223 MB / 1.377 GB, free: 4.738 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.5385, allocations: 45.7 kB / 1.378 GB, free: 4.688 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006167/0.5392, allocations: 0.7501 MB / 1.378 GB, free: 3.926 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005133/0.5397, allocations: 0.5035 MB / 1.379 GB, free: 3.418 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005995/0.5403, allocations: 295.5 kB / 1.379 GB, free: 3.125 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.5405, allocations: 349.9 kB / 1.379 GB, free: 2.777 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.5425, allocations: 1.335 MB / 1.381 GB, free: 1.441 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.5448, allocations: 1.655 MB / 1.382 GB, free: 15.68 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004612/0.5494, allocations: 3.088 MB / 1.385 GB, free: 12.47 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.5495, allocations: 4 kB / 1.385 GB, free: 12.46 MB / 1.092 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01212/0.5616, allocations: 5.565 MB / 1.391 GB, free: 6.875 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.5616, allocations: 11.94 kB / 1.391 GB, free: 6.863 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.5616, allocations: 8 kB / 1.391 GB, free: 6.855 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008868/0.5705, allocations: 2.719 MB / 1.393 GB, free: 4.125 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008499/0.5713, allocations: 187.7 kB / 1.394 GB, free: 3.941 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04047/0.6118, allocations: 25.73 MB / 1.419 GB, free: 9.648 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.6133, allocations: 95.95 kB / 1.419 GB, free: 9.555 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.6135, allocations: 55.98 kB / 1.419 GB, free: 9.5 MB / 1.123 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.001298/0.6148, allocations: 0.7316 MB / 1.42 GB, free: 8.758 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.6151, allocations: 123.2 kB / 1.42 GB, free: 8.637 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.6266, allocations: 5.31 MB / 1.425 GB, free: 3.289 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.6266, allocations: 23.97 kB / 1.425 GB, free: 3.266 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-05/0.6266, allocations: 23.94 kB / 1.425 GB, free: 3.242 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.6266, allocations: 3.984 kB / 1.425 GB, free: 3.238 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.6443, allocations: 8.607 MB / 1.433 GB, free: 10.51 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.6443, allocations: 4 kB / 1.433 GB, free: 10.51 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005043/0.6448, allocations: 119.8 kB / 1.433 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008596/0.6534, allocations: 2.594 MB / 1.436 GB, free: 7.785 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002044/0.6536, allocations: 28 kB / 1.436 GB, free: 7.758 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03776/0.6913, allocations: 24.17 MB / 1.46 GB, free: 15.02 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6913, allocations: 4.125 kB / 1.46 GB, free: 15.01 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.703, allocations: 5.175 MB / 1.465 GB, free: 9.754 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/0.7044, allocations: 0.4884 MB / 1.465 GB, free: 9.246 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.7046, allocations: 35.94 kB / 1.465 GB, free: 9.211 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/0.7055, allocations: 71.91 kB / 1.465 GB, free: 9.141 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/0.706, allocations: 125 kB / 1.465 GB, free: 9.016 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.7062, allocations: 40 kB / 1.465 GB, free: 8.977 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009403/0.7071, allocations: 0.6473 MB / 1.466 GB, free: 8.328 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.7071, allocations: 0 / 1.466 GB, free: 8.328 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002363/0.7095, allocations: 0.7227 MB / 1.467 GB, free: 7.605 MB / 1.17 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.01171/0.7212, allocations: 5.754 MB / 1.472 GB, free: 1.762 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008078/0.7292, allocations: 4.08 MB / 1.476 GB, free: 13.63 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.7292, allocations: 4.188 kB / 1.476 GB, free: 13.62 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005551/0.7348, allocations: 2.614 MB / 1.479 GB, free: 10.96 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.7362, allocations: 222.2 kB / 1.479 GB, free: 10.75 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03938/0.7756, allocations: 21.3 MB / 1.5 GB, free: 4.992 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/0.7774, allocations: 1.708 MB / 1.502 GB, free: 3.254 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008277/0.7782, allocations: 325.5 kB / 1.502 GB, free: 2.934 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/0.7789, allocations: 0.5266 MB / 1.502 GB, free: 2.406 MB / 1.201 GB Notification: Performance of SimCode: time 7.82e-07/0.7789, allocations: 4 kB / 1.502 GB, free: 2.402 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/0.8933, allocations: 53.07 MB / 1.554 GB, free: 13.67 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.88, allocations: 12 kB / 1.554 GB, free: 13.66 MB / 1.264 GB " [Timeout remaining time 287] (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_2/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: 19.76979518868029]