Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 192.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.2 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5797/0.5811, allocations: 140.4 MB / 0.9492 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007063/0.5882, allocations: 6.796 MB / 0.9559 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003974/0.5922, allocations: 3.058 MB / 0.9589 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.5926, allocations: 26.94 kB / 0.9589 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.5946, allocations: 0.8873 MB / 0.9598 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009696/0.5955, allocations: 464.4 kB / 0.9602 GB, free: 416 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.5965, allocations: 417.1 kB / 0.9606 GB, free: 92 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.5979, allocations: 1.231 MB / 0.9618 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.5989, allocations: 0.7334 MB / 0.9625 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006557/0.5996, allocations: 484.9 kB / 0.963 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006735/0.6003, allocations: 0.5273 MB / 0.9635 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.645e-05/0.6004, allocations: 67.44 kB / 0.9636 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007079/0.6011, allocations: 383.7 kB / 0.9639 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.6014, allocations: 320.7 kB / 0.9642 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004303/0.6018, allocations: 448 kB / 0.9647 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.6035, allocations: 1.237 MB / 0.9659 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.6036, allocations: 0 / 0.9659 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6036, allocations: 0 / 0.9659 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.12e-05/0.6036, allocations: 1.062 kB / 0.9659 GB, free: 12.87 MB / 0.7325 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.002829/0.6065, allocations: 1.174 MB / 0.967 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.6065, allocations: 9.656 kB / 0.967 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/0.6067, allocations: 121.8 kB / 0.9671 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.6084, allocations: 232.7 kB / 0.9674 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.6095, allocations: 0.5539 MB / 0.9679 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.6096, allocations: 52.36 kB / 0.968 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.6097, allocations: 61.66 kB / 0.968 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.6114, allocations: 1.091 MB / 0.9691 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.6115, allocations: 6.594 kB / 0.9691 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.6116, allocations: 29.53 kB / 0.9691 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.6117, allocations: 84.72 kB / 0.9692 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.6129, allocations: 0.7542 MB / 0.9699 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.6186, allocations: 5.89 MB / 0.9757 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009701/0.6196, allocations: 0.5587 MB / 0.9762 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.6201, allocations: 324.8 kB / 0.9765 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.6201, allocations: 9.594 kB / 0.9766 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.6201, allocations: 37.22 kB / 0.9766 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 3.586e-06/0.6202, allocations: 1.156 kB / 0.9766 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.003925/0.6241, allocations: 1.986 MB / 0.9785 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.6241, allocations: 57.41 kB / 0.9786 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.6248, allocations: 0.5668 MB / 0.9791 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.6249, allocations: 36.52 kB / 0.9792 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.6251, allocations: 423.9 kB / 0.9796 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.6253, allocations: 172.9 kB / 0.9797 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.6255, allocations: 122.4 kB / 0.9799 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6257, allocations: 378.4 kB / 0.9802 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.6261, allocations: 275.4 kB / 0.9805 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005702/0.6267, allocations: 496.7 kB / 0.981 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.6277, allocations: 0.8171 MB / 0.9818 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.6277, allocations: 0 / 0.9818 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001843/0.6296, allocations: 1.083 MB / 0.9828 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6296, allocations: 8.125 kB / 0.9828 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6296, allocations: 12 kB / 0.9828 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008497/0.6305, allocations: 283.1 kB / 0.9831 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.631, allocations: 127.8 kB / 0.9832 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00664/0.6376, allocations: 7.13 MB / 0.9902 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.6383, allocations: 39.95 kB / 0.9902 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.6383, allocations: 28 kB / 0.9902 GB, free: 6.426 MB / 0.7481 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.0004154/0.6388, allocations: 257.5 kB / 0.9905 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.6389, allocations: 71.22 kB / 0.9906 GB, free: 6.094 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.6407, allocations: 0.8925 MB / 0.9914 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6407, allocations: 4 kB / 0.9914 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.6407, allocations: 4 kB / 0.9914 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6407, allocations: 3.984 kB / 0.9914 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.6435, allocations: 1.728 MB / 0.9931 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.6435, allocations: 3.938 kB / 0.9931 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.6438, allocations: 59.89 kB / 0.9932 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007759/0.6446, allocations: 271.3 kB / 0.9935 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.6447, allocations: 12.06 kB / 0.9935 GB, free: 3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006658/0.6513, allocations: 7.126 MB / 1 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.6514, allocations: 3.938 kB / 1 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.653, allocations: 0.9835 MB / 1.001 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.6534, allocations: 196.2 kB / 1.002 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.6535, allocations: 11.94 kB / 1.002 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.6539, allocations: 31.95 kB / 1.002 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.6541, allocations: 43.89 kB / 1.002 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.6541, allocations: 12 kB / 1.002 GB, free: 9.965 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004512/0.6546, allocations: 391.1 kB / 1.002 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6546, allocations: 0 / 1.002 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009008/0.6555, allocations: 228 kB / 1.002 GB, free: 9.363 MB / 0.7637 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.001851/0.6573, allocations: 1.54 MB / 1.004 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.6595, allocations: 1.334 MB / 1.005 GB, free: 6.383 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6595, allocations: 0 / 1.005 GB, free: 6.383 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.6609, allocations: 0.8932 MB / 1.006 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.6621, allocations: 219.2 kB / 1.006 GB, free: 5.23 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009665/0.6718, allocations: 6.854 MB / 1.013 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.6724, allocations: 1.017 MB / 1.014 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004527/0.6729, allocations: 126 kB / 1.014 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.6732, allocations: 251.3 kB / 1.014 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of SimCode: time 8.22e-07/0.6732, allocations: 3.938 kB / 1.014 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.7161, allocations: 17.23 MB / 1.031 GB, free: 11.75 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.7163, allocations: 244.7 kB / 1.031 GB, free: 11.49 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.057, allocations: 0 / 1.031 GB, free: 11.49 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches