Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001532/0.001532, allocations: 107.3 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.00233/0.00233, allocations: 191.8 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.422/1.422, 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 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.79, allocations: 168.7 MB / 1.269 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02653/0.8165, allocations: 20.58 MB / 1.289 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.8289, allocations: 6.519 MB / 1.295 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.8305, allocations: 87.56 kB / 1.295 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005725/0.8362, allocations: 2.282 MB / 1.298 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.8394, allocations: 1.232 MB / 1.299 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.8426, allocations: 1.289 MB / 1.3 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00643/0.849, allocations: 4.85 MB / 1.305 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005726/0.8547, allocations: 4.233 MB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.8579, allocations: 2.13 MB / 1.311 GB, free: 9.816 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.8613, allocations: 2.477 MB / 1.313 GB, free: 7.332 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005878/0.8619, allocations: 428 kB / 1.314 GB, free: 6.914 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.8637, allocations: 1.018 MB / 1.315 GB, free: 5.895 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00172/0.8654, allocations: 1.703 MB / 1.316 GB, free: 4.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002093/0.8675, allocations: 1.914 MB / 1.318 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006885/0.8744, allocations: 6.536 MB / 1.325 GB, free: 11.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8744, allocations: 0 / 1.325 GB, free: 11.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8744, allocations: 4 kB / 1.325 GB, free: 11.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.479e-05/0.8745, allocations: 0 / 1.325 GB, free: 11.71 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00678/0.8813, allocations: 3.545 MB / 1.328 GB, free: 8.094 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.8813, allocations: 12.03 kB / 1.328 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006204/0.882, allocations: 454.6 kB / 1.329 GB, free: 7.625 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.8853, allocations: 0.6545 MB / 1.329 GB, free: 6.969 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.8899, allocations: 2.046 MB / 1.331 GB, free: 4.863 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.8901, allocations: 226.2 kB / 1.331 GB, free: 4.641 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005222/0.8906, allocations: 304 kB / 1.332 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007824/0.8985, allocations: 4.885 MB / 1.337 GB, free: 15.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.628e-05/0.8985, allocations: 15.88 kB / 1.337 GB, free: 15.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.8988, allocations: 132 kB / 1.337 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004388/0.8993, allocations: 233.7 kB / 1.337 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006287/0.9056, allocations: 3.754 MB / 1.341 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02391/0.9295, allocations: 21.42 MB / 1.361 GB, free: 3.707 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.9314, allocations: 1.234 MB / 1.363 GB, free: 2.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.9329, allocations: 0.9947 MB / 1.364 GB, free: 1.469 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-05/0.9329, allocations: 9 kB / 1.364 GB, free: 1.461 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.933, allocations: 47.56 kB / 1.364 GB, free: 1.406 MB / 1.061 GB Notification: Performance of pre-optimization done (n=107): time 2.936e-06/0.933, allocations: 0 / 1.364 GB, free: 1.406 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.02482/0.9578, allocations: 8.657 MB / 1.372 GB, free: 8.691 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.9579, allocations: 64.72 kB / 1.372 GB, free: 8.617 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.9595, allocations: 1.126 MB / 1.373 GB, free: 7.484 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.9597, allocations: 49.7 kB / 1.373 GB, free: 7.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.9607, allocations: 1.339 MB / 1.375 GB, free: 6.078 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/0.9612, allocations: 0.4919 MB / 1.375 GB, free: 5.582 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004922/0.9617, allocations: 295.4 kB / 1.375 GB, free: 5.285 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.9619, allocations: 305.1 kB / 1.376 GB, free: 4.984 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.9633, allocations: 0.9174 MB / 1.377 GB, free: 4.066 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.965, allocations: 1.322 MB / 1.378 GB, free: 2.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/0.9684, allocations: 2.43 MB / 1.38 GB, free: 15.97 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.9684, allocations: 4 kB / 1.38 GB, free: 15.97 MB / 1.092 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006523/0.9749, allocations: 3.433 MB / 1.384 GB, free: 12.52 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.975, allocations: 12.22 kB / 1.384 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.975, allocations: 16 kB / 1.384 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003327/0.9783, allocations: 1.178 MB / 1.385 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/0.9792, allocations: 267.5 kB / 1.385 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/0.9979, allocations: 13.85 MB / 1.399 GB, free: 12.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.9992, allocations: 91.97 kB / 1.399 GB, free: 12.68 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.9993, allocations: 60 kB / 1.399 GB, free: 12.62 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001798/1.001, allocations: 1.118 MB / 1.4 GB, free: 11.49 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/1.001, allocations: 170.9 kB / 1.4 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/1.007, allocations: 3.134 MB / 1.403 GB, free: 8.168 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/1.007, allocations: 12 kB / 1.403 GB, free: 8.156 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/1.007, allocations: 16.31 kB / 1.403 GB, free: 8.141 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.007, allocations: 3.984 kB / 1.403 GB, free: 8.137 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.018, allocations: 6.206 MB / 1.409 GB, free: 1.793 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.018, allocations: 8 kB / 1.409 GB, free: 1.785 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/1.019, allocations: 155.8 kB / 1.409 GB, free: 1.633 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002915/1.022, allocations: 1.077 MB / 1.41 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/1.022, allocations: 28 kB / 1.41 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/1.04, allocations: 13.53 MB / 1.424 GB, free: 2.574 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.04, allocations: 8.312 kB / 1.424 GB, free: 2.566 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005832/1.046, allocations: 3.116 MB / 1.427 GB, free: 15.36 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.047, allocations: 435.9 kB / 1.427 GB, free: 14.92 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/1.047, allocations: 35.98 kB / 1.427 GB, free: 14.88 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/1.048, allocations: 83.91 kB / 1.427 GB, free: 14.8 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/1.048, allocations: 128.6 kB / 1.427 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-05/1.048, allocations: 39.94 kB / 1.427 GB, free: 14.64 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001109/1.05, allocations: 0.7671 MB / 1.428 GB, free: 13.87 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/1.05, allocations: 0 / 1.428 GB, free: 13.87 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001845/1.051, allocations: 0.6641 MB / 1.429 GB, free: 13.2 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005741/1.057, allocations: 3.702 MB / 1.432 GB, free: 9.406 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005015/1.062, allocations: 3.006 MB / 1.435 GB, free: 6.359 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.062, allocations: 4.125 kB / 1.435 GB, free: 6.355 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003059/1.065, allocations: 1.888 MB / 1.437 GB, free: 4.434 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/1.067, allocations: 496.9 kB / 1.438 GB, free: 3.957 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03141/1.099, allocations: 19.12 MB / 1.456 GB, free: 256 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002865/1.102, allocations: 2.336 MB / 1.459 GB, free: 13.88 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001104/1.103, allocations: 354.1 kB / 1.459 GB, free: 13.53 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.104, allocations: 1.015 MB / 1.46 GB, free: 12.52 MB / 1.17 GB Notification: Performance of SimCode: time 9.81e-07/1.104, allocations: 0 / 1.46 GB, free: 12.52 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.214, allocations: 52.65 MB / 1.511 GB, free: 8.52 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.7, allocations: 8.75 kB / 1.511 GB, free: 8.516 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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: 19.99570364970714]