Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001788/0.001788, allocations: 107.6 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.002147/0.002147, 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.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.801/2.801, allocations: 476.7 MB / 0.7611 GB, free: 11.41 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 1.104 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.753, allocations: 168.7 MB / 1.269 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.0104/0.7634, allocations: 6.91 MB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005594/0.769, allocations: 3.114 MB / 1.279 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.7696, allocations: 27.81 kB / 1.279 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.7724, allocations: 0.9453 MB / 1.279 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.7738, allocations: 0.5285 MB / 1.28 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.775, allocations: 446.2 kB / 1.28 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.7767, allocations: 1.232 MB / 1.282 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009583/0.7777, allocations: 0.5391 MB / 1.282 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007909/0.7785, allocations: 478.3 kB / 1.283 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.7796, allocations: 0.5565 MB / 1.283 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.7798, allocations: 68 kB / 1.283 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009297/0.7807, allocations: 387.2 kB / 1.284 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.7812, allocations: 322.9 kB / 1.284 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006594/0.7818, allocations: 441.8 kB / 1.284 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.7836, allocations: 1.23 MB / 1.286 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7836, allocations: 0 / 1.286 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7836, allocations: 0 / 1.286 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.829e-05/0.7837, allocations: 0 / 1.286 GB, free: 3.953 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002428/0.7861, allocations: 1.189 MB / 1.287 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7861, allocations: 8.031 kB / 1.287 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001785/0.7863, allocations: 122.7 kB / 1.287 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.788, allocations: 240.1 kB / 1.287 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.7893, allocations: 0.6158 MB / 1.288 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.7894, allocations: 49.67 kB / 1.288 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.7895, allocations: 64.36 kB / 1.288 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.7913, allocations: 1.085 MB / 1.289 GB, free: 392 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.7913, allocations: 7.938 kB / 1.289 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.7914, allocations: 31.98 kB / 1.289 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.7915, allocations: 85.25 kB / 1.289 GB, free: 264 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.7929, allocations: 0.7505 MB / 1.29 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006323/0.7992, allocations: 5.89 MB / 1.295 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.8003, allocations: 0.5086 MB / 1.296 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.8008, allocations: 286 kB / 1.296 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.8008, allocations: 4.438 kB / 1.296 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.8008, allocations: 39 kB / 1.296 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.284e-06/0.8008, allocations: 0 / 1.296 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.004179/0.805, allocations: 1.995 MB / 1.298 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.8051, allocations: 55.84 kB / 1.298 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007292/0.8058, allocations: 0.5665 MB / 1.299 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.8058, allocations: 33.7 kB / 1.299 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.8062, allocations: 424 kB / 1.299 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.8063, allocations: 178.5 kB / 1.299 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.8065, allocations: 130.6 kB / 1.3 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8067, allocations: 382.7 kB / 1.3 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.8072, allocations: 273.8 kB / 1.3 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.8078, allocations: 493 kB / 1.301 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.809, allocations: 0.8093 MB / 1.301 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.809, allocations: 4 kB / 1.301 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002008/0.811, allocations: 1.079 MB / 1.302 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.811, allocations: 8 kB / 1.302 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.811, allocations: 19.91 kB / 1.302 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000889/0.8119, allocations: 283.9 kB / 1.303 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.8124, allocations: 123.8 kB / 1.303 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007498/0.8199, allocations: 7.142 MB / 1.31 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.8206, allocations: 35.97 kB / 1.31 GB, free: 9.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.8206, allocations: 35.98 kB / 1.31 GB, free: 9.395 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003971/0.821, allocations: 254.1 kB / 1.31 GB, free: 9.137 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.8212, allocations: 71.58 kB / 1.31 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.8229, allocations: 0.8885 MB / 1.311 GB, free: 8.148 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.8229, allocations: 8.031 kB / 1.311 GB, free: 8.141 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8229, allocations: 4 kB / 1.311 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8229, allocations: 0 / 1.311 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.8258, allocations: 1.701 MB / 1.313 GB, free: 6.348 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.8258, allocations: 7.938 kB / 1.313 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.8261, allocations: 63.89 kB / 1.313 GB, free: 6.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007574/0.8269, allocations: 259.4 kB / 1.313 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.8269, allocations: 16 kB / 1.313 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007421/0.8343, allocations: 7.127 MB / 1.32 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.8343, allocations: 4.172 kB / 1.32 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.8362, allocations: 0.9915 MB / 1.321 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004035/0.8366, allocations: 188.6 kB / 1.321 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.578e-05/0.8366, allocations: 19.89 kB / 1.321 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.837, allocations: 27.91 kB / 1.321 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.8371, allocations: 44.02 kB / 1.321 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.8372, allocations: 20 kB / 1.321 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004947/0.8377, allocations: 387.1 kB / 1.322 GB, free: 12.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.8377, allocations: 3.938 kB / 1.322 GB, free: 12.58 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008257/0.8385, allocations: 227.9 kB / 1.322 GB, free: 12.36 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001948/0.8404, allocations: 1.533 MB / 1.323 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002287/0.8427, allocations: 1.232 MB / 1.325 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.8427, allocations: 4.062 kB / 1.325 GB, free: 9.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.8441, allocations: 0.8619 MB / 1.325 GB, free: 8.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.8451, allocations: 218.2 kB / 1.326 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00959/0.8547, allocations: 6.393 MB / 1.332 GB, free: 1.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.8555, allocations: 1.009 MB / 1.333 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004472/0.8559, allocations: 130 kB / 1.333 GB, free: 468 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.8562, allocations: 249.9 kB / 1.333 GB, free: 220 kB / 1.029 GB Notification: Performance of SimCode: time 9.21e-07/0.8562, allocations: 0 / 1.333 GB, free: 220 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/0.9154, allocations: 17.64 MB / 1.35 GB, free: 14.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.94, allocations: 13.8 kB / 1.35 GB, free: 14.9 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 17.973608531057835]