Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.002027/0.002027, 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.00241/0.00241, allocations: 217.8 kB / 23.03 MB, free: 4.945 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.395/1.395, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.016/3.016, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001891/0.001891, allocations: 67.62 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3325, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03869/0.3712, allocations: 25.54 MB / 1.352 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0206/0.3918, allocations: 8.076 MB / 1.359 GB, free: 15.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003408/0.3952, allocations: 154.8 kB / 1.36 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008985/0.4042, allocations: 2.764 MB / 1.362 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005261/0.4095, allocations: 1.671 MB / 1.364 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005304/0.4148, allocations: 1.684 MB / 1.366 GB, free: 9.492 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009349/0.4241, allocations: 6.127 MB / 1.372 GB, free: 3.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007918/0.432, allocations: 3.788 MB / 1.375 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005186/0.4372, allocations: 2.676 MB / 1.378 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005691/0.4429, allocations: 2.994 MB / 1.381 GB, free: 9.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001772/0.4447, allocations: 0.5078 MB / 1.381 GB, free: 9.262 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.4485, allocations: 1.213 MB / 1.382 GB, free: 8.047 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003602/0.4521, allocations: 2.097 MB / 1.385 GB, free: 5.945 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004849/0.4569, allocations: 1.938 MB / 1.386 GB, free: 4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.4696, allocations: 8.114 MB / 1.394 GB, free: 11.86 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.4696, allocations: 0 / 1.394 GB, free: 11.86 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4696, allocations: 0 / 1.394 GB, free: 11.86 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002831/0.4699, allocations: 0 / 1.394 GB, free: 11.86 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01337/0.4832, allocations: 4.26 MB / 1.398 GB, free: 7.547 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/0.4833, allocations: 12.03 kB / 1.399 GB, free: 7.535 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001715/0.4835, allocations: 95.48 kB / 1.399 GB, free: 7.441 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002267/0.4857, allocations: 0.5421 MB / 1.399 GB, free: 6.891 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/0.4913, allocations: 0.814 MB / 1.4 GB, free: 6.074 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006427/0.4977, allocations: 2.526 MB / 1.402 GB, free: 3.484 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/0.498, allocations: 275.6 kB / 1.403 GB, free: 3.215 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/0.4995, allocations: 380.2 kB / 1.403 GB, free: 2.844 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.5136, allocations: 6.44 MB / 1.409 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/0.5137, allocations: 19.83 kB / 1.409 GB, free: 12.02 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009617/0.5147, allocations: 164 kB / 1.409 GB, free: 11.86 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006817/0.5154, allocations: 282.9 kB / 1.41 GB, free: 11.58 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009965/0.5253, allocations: 4.524 MB / 1.414 GB, free: 7.051 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02995/0.5553, allocations: 18 MB / 1.432 GB, free: 4.52 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.5572, allocations: 1.062 MB / 1.433 GB, free: 3.449 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.5587, allocations: 0.9648 MB / 1.434 GB, free: 2.484 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.897e-05/0.5588, allocations: 9 kB / 1.434 GB, free: 2.477 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.5589, allocations: 47.56 kB / 1.434 GB, free: 2.422 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.326e-06/0.5589, allocations: 0 / 1.434 GB, free: 2.422 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.02326/0.5821, allocations: 9.1 MB / 1.443 GB, free: 9.266 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.5822, allocations: 64.72 kB / 1.443 GB, free: 9.188 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.5848, allocations: 1.494 MB / 1.444 GB, free: 7.695 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.585, allocations: 45.7 kB / 1.444 GB, free: 7.645 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.5864, allocations: 1.719 MB / 1.446 GB, free: 5.906 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005808/0.5869, allocations: 0.4957 MB / 1.446 GB, free: 5.406 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006427/0.5876, allocations: 323.4 kB / 1.447 GB, free: 5.082 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5877, allocations: 305.1 kB / 1.447 GB, free: 4.781 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.5892, allocations: 0.9174 MB / 1.448 GB, free: 3.863 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.5911, allocations: 1.467 MB / 1.449 GB, free: 2.156 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/0.5947, allocations: 2.546 MB / 1.452 GB, free: 15.37 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/0.5947, allocations: 4 kB / 1.452 GB, free: 15.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006323/0.6011, allocations: 3.279 MB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.6011, allocations: 12 kB / 1.455 GB, free: 12.04 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.6011, allocations: 20 kB / 1.455 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.6036, allocations: 0.7374 MB / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.6052, allocations: 387.3 kB / 1.456 GB, free: 10.87 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/0.6227, allocations: 16.02 MB / 1.472 GB, free: 9.824 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.6244, allocations: 99.91 kB / 1.472 GB, free: 9.727 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/0.6248, allocations: 75.98 kB / 1.472 GB, free: 9.652 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00258/0.6273, allocations: 1.311 MB / 1.473 GB, free: 8.332 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005751/0.6279, allocations: 214.7 kB / 1.473 GB, free: 8.121 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005441/0.6334, allocations: 2.765 MB / 1.476 GB, free: 5.316 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.6334, allocations: 12 kB / 1.476 GB, free: 5.305 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.633e-05/0.6334, allocations: 8 kB / 1.476 GB, free: 5.297 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.6334, allocations: 7.922 kB / 1.476 GB, free: 5.289 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.6456, allocations: 5.885 MB / 1.482 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.6456, allocations: 4 kB / 1.482 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.6468, allocations: 235.6 kB / 1.482 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.649, allocations: 0.6718 MB / 1.483 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.6491, allocations: 32 kB / 1.483 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/0.6657, allocations: 15.76 MB / 1.498 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/0.6657, allocations: 11.94 kB / 1.498 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006998/0.6727, allocations: 3.998 MB / 1.502 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.6739, allocations: 382.6 kB / 1.502 GB, free: 8.992 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000483/0.6743, allocations: 36.11 kB / 1.503 GB, free: 8.957 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.6755, allocations: 87.89 kB / 1.503 GB, free: 8.871 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003317/0.6758, allocations: 128.6 kB / 1.503 GB, free: 8.746 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.6759, allocations: 36 kB / 1.503 GB, free: 8.711 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001779/0.6777, allocations: 0.9942 MB / 1.504 GB, free: 7.727 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6777, allocations: 4 kB / 1.504 GB, free: 7.723 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002519/0.6802, allocations: 0.6836 MB / 1.504 GB, free: 7.039 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007037/0.6872, allocations: 4.596 MB / 1.509 GB, free: 2.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006337/0.6936, allocations: 3.374 MB / 1.512 GB, free: 14.83 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/0.6936, allocations: 4 kB / 1.512 GB, free: 14.82 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004066/0.6977, allocations: 2.241 MB / 1.514 GB, free: 12.47 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/0.7019, allocations: 0.68 MB / 1.515 GB, free: 11.81 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03844/0.7403, allocations: 21.3 MB / 1.536 GB, free: 5.629 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/0.744, allocations: 2.105 MB / 1.538 GB, free: 3.488 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001512/0.7455, allocations: 493.4 kB / 1.538 GB, free: 3.004 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/0.7472, allocations: 1.28 MB / 1.54 GB, free: 1.727 MB / 1.232 GB Notification: Performance of SimCode: time 8.32e-07/0.7473, allocations: 0 / 1.54 GB, free: 1.727 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1322/0.8794, allocations: 61.67 MB / 1.6 GB, free: 5.117 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.54, allocations: 8.062 kB / 1.6 GB, free: 5.109 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.323066125973128]