Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001811/0.001811, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002282/0.002282, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.075/3.075, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 177] 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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.001919/0.001919, allocations: 72.38 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3408, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01339/0.3542, allocations: 10.5 MB / 1.356 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006209/0.3604, allocations: 3.303 MB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000829/0.3612, allocations: 43.69 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.363, allocations: 0.6207 MB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.3647, allocations: 0.7856 MB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.3664, allocations: 0.7485 MB / 1.361 GB, free: 388 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.3702, allocations: 2.996 MB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/0.3724, allocations: 1.435 MB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.3744, allocations: 1.285 MB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.377, allocations: 1.706 MB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004094/0.3774, allocations: 232 kB / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3786, allocations: 0.5072 MB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.3799, allocations: 1.107 MB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00153/0.3814, allocations: 1.105 MB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004421/0.3859, allocations: 3.699 MB / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.3859, allocations: 4 kB / 1.375 GB, free: 2.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3859, allocations: 0 / 1.375 GB, free: 2.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.713e-05/0.3859, allocations: 0 / 1.375 GB, free: 2.23 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004993/0.3909, allocations: 2.119 MB / 1.377 GB, free: 72 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.391, allocations: 12.03 kB / 1.377 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.452e-05/0.391, allocations: 39.2 kB / 1.377 GB, free: 20 kB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003806/0.3914, allocations: 257.2 kB / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009206/0.4006, allocations: 1.33 MB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/0.4038, allocations: 1.258 MB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.404, allocations: 111.4 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004265/0.4044, allocations: 148.3 kB / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006031/0.4104, allocations: 3.44 MB / 1.383 GB, free: 9.344 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.4105, allocations: 7.938 kB / 1.383 GB, free: 9.336 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.4107, allocations: 67.97 kB / 1.383 GB, free: 9.27 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002735/0.4109, allocations: 203.1 kB / 1.383 GB, free: 9.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005254/0.4162, allocations: 3.128 MB / 1.387 GB, free: 5.938 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01984/0.436, allocations: 13.47 MB / 1.4 GB, free: 7.594 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.4386, allocations: 1.606 MB / 1.401 GB, free: 5.98 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.4407, allocations: 1.327 MB / 1.403 GB, free: 4.652 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-05/0.4408, allocations: 13 kB / 1.403 GB, free: 4.641 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.4408, allocations: 47.5 kB / 1.403 GB, free: 4.586 MB / 1.092 GB Notification: Performance of pre-optimization done (n=104): time 2.725e-06/0.4408, allocations: 0 / 1.403 GB, free: 4.586 MB / 1.092 GB Notification: Performance of matching and sorting (n=183): time 0.1546/0.5954, allocations: 36.2 MB / 1.438 GB, free: 344 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.5955, allocations: 69.41 kB / 1.438 GB, free: 264 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.5973, allocations: 1.046 MB / 1.439 GB, free: 15.19 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.5977, allocations: 57.7 kB / 1.439 GB, free: 15.12 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007086/0.5984, allocations: 0.8093 MB / 1.44 GB, free: 14.3 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009256/0.5993, allocations: 0.6623 MB / 1.441 GB, free: 13.64 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.6003, allocations: 363.5 kB / 1.441 GB, free: 13.27 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6005, allocations: 301.1 kB / 1.441 GB, free: 12.98 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.6036, allocations: 1.928 MB / 1.443 GB, free: 11.05 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/0.6071, allocations: 2.281 MB / 1.445 GB, free: 8.645 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006727/0.6138, allocations: 4.392 MB / 1.45 GB, free: 4.129 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.6138, allocations: 11.88 kB / 1.45 GB, free: 4.117 MB / 1.139 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02224/0.636, allocations: 8.871 MB / 1.458 GB, free: 11.22 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.6361, allocations: 12.03 kB / 1.458 GB, free: 11.21 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.6361, allocations: 11.98 kB / 1.458 GB, free: 11.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01833/0.6544, allocations: 4.985 MB / 1.463 GB, free: 6.195 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009289/0.6553, allocations: 195.6 kB / 1.463 GB, free: 6.004 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06625/0.7216, allocations: 38.53 MB / 1.501 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.7237, allocations: 107.9 kB / 1.501 GB, free: 14.89 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003804/0.724, allocations: 64 kB / 1.501 GB, free: 14.83 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001677/0.7257, allocations: 0.8152 MB / 1.502 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/0.7262, allocations: 143.1 kB / 1.502 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02188/0.748, allocations: 8.734 MB / 1.511 GB, free: 5.09 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.7481, allocations: 16 kB / 1.511 GB, free: 5.074 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.109e-05/0.7482, allocations: 35.94 kB / 1.511 GB, free: 5.039 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/0.7482, allocations: 11.95 kB / 1.511 GB, free: 5.027 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03042/0.7786, allocations: 13.24 MB / 1.524 GB, free: 7.641 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/0.7786, allocations: 4 kB / 1.524 GB, free: 7.637 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.7792, allocations: 119.8 kB / 1.524 GB, free: 7.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01822/0.7974, allocations: 4.841 MB / 1.528 GB, free: 2.664 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004096/0.7978, allocations: 43.92 kB / 1.528 GB, free: 2.621 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06567/0.8635, allocations: 36.46 MB / 1.564 GB, free: 13.68 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/0.8635, allocations: 7.938 kB / 1.564 GB, free: 13.68 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02163/0.8851, allocations: 8.448 MB / 1.572 GB, free: 5.137 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/0.887, allocations: 0.5769 MB / 1.573 GB, free: 4.559 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006106/0.8876, allocations: 39.98 kB / 1.573 GB, free: 4.52 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.8893, allocations: 91.89 kB / 1.573 GB, free: 4.43 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009722/0.8902, allocations: 173.5 kB / 1.573 GB, free: 4.258 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002747/0.8905, allocations: 48 kB / 1.573 GB, free: 4.211 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001411/0.8919, allocations: 0.7343 MB / 1.574 GB, free: 3.465 MB / 1.264 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8919, allocations: 0 / 1.574 GB, free: 3.465 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004046/0.896, allocations: 1.004 MB / 1.575 GB, free: 2.461 MB / 1.264 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0225/0.9185, allocations: 9.05 MB / 1.584 GB, free: 9.316 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01204/0.9305, allocations: 5.729 MB / 1.589 GB, free: 3.531 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.9305, allocations: 0 / 1.589 GB, free: 3.531 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.009281/0.9398, allocations: 3.798 MB / 1.593 GB, free: 15.68 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.942, allocations: 246.5 kB / 1.593 GB, free: 15.45 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7091/1.651, allocations: 30.82 MB / 1.623 GB, free: 242.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/1.653, allocations: 1.855 MB / 1.625 GB, free: 242 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009115/1.654, allocations: 351.3 kB / 1.626 GB, free: 242 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/1.655, allocations: 0.6075 MB / 1.626 GB, free: 241.5 MB / 1.295 GB Notification: Performance of SimCode: time 7.82e-07/1.655, allocations: 0 / 1.626 GB, free: 241.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/1.765, allocations: 78.8 MB / 1.703 GB, free: 188.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/16.23, allocations: 10.88 kB / 1.703 GB, free: 188.6 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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: 23.238008381042164]