Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.006086/0.006086, allocations: 101 kB / 15.73 MB, free: 6.043 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.002105/0.002105, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.472/2.472, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.94 kB / 0.9504 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2987, allocations: 140.4 MB / 1.087 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01736/0.3161, allocations: 14.78 MB / 1.102 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01615/0.3323, allocations: 10.34 MB / 1.112 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.3343, allocations: 59.62 kB / 1.112 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004629/0.339, allocations: 1.691 MB / 1.114 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005575/0.3446, allocations: 1.812 MB / 1.115 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.3467, allocations: 0.7518 MB / 1.116 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004313/0.351, allocations: 2.758 MB / 1.119 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.3532, allocations: 1.415 MB / 1.12 GB, free: 360 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.3556, allocations: 1.496 MB / 1.122 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.3576, allocations: 1.167 MB / 1.123 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005193/0.3581, allocations: 160 kB / 1.123 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.3601, allocations: 0.7916 MB / 1.124 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008806/0.361, allocations: 0.5998 MB / 1.124 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.3628, allocations: 0.9561 MB / 1.125 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.3669, allocations: 2.768 MB / 1.128 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3669, allocations: 0 / 1.128 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3669, allocations: 0 / 1.128 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001082/0.367, allocations: 0 / 1.128 GB, free: 8.391 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004688/0.3717, allocations: 2.182 MB / 1.13 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3718, allocations: 12.03 kB / 1.13 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003275/0.3721, allocations: 190.4 kB / 1.13 GB, free: 5.945 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.3841, allocations: 2.108 MB / 1.132 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/0.3878, allocations: 1.303 MB / 1.134 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.3879, allocations: 90.67 kB / 1.134 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005823/0.3885, allocations: 119.9 kB / 1.134 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006651/0.3952, allocations: 2.667 MB / 1.137 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.396e-05/0.3952, allocations: 15.83 kB / 1.137 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/0.3956, allocations: 51.98 kB / 1.137 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007361/0.3963, allocations: 198.1 kB / 1.137 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008475/0.4048, allocations: 2.791 MB / 1.139 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.422, allocations: 10.46 MB / 1.15 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006936/0.429, allocations: 2.336 MB / 1.152 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003254/0.4323, allocations: 1.284 MB / 1.153 GB, free: 13.69 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.095e-05/0.4324, allocations: 9 kB / 1.153 GB, free: 13.68 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.4325, allocations: 43.56 kB / 1.153 GB, free: 13.63 MB / 0.92 GB Notification: Performance of pre-optimization done (n=89): time 2.625e-06/0.4325, allocations: 0 / 1.153 GB, free: 13.63 MB / 0.92 GB Notification: Performance of matching and sorting (n=153): time 0.06356/0.496, allocations: 16.49 MB / 1.169 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.4961, allocations: 72.66 kB / 1.169 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.4979, allocations: 1.18 MB / 1.171 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000315/0.4982, allocations: 49.7 kB / 1.171 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005527/0.4988, allocations: 0.7398 MB / 1.171 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006772/0.4995, allocations: 0.5198 MB / 1.172 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006954/0.5002, allocations: 283.5 kB / 1.172 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.5003, allocations: 317 kB / 1.172 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003929/0.5042, allocations: 1.507 MB / 1.174 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004095/0.5083, allocations: 1.776 MB / 1.176 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008078/0.5164, allocations: 3.369 MB / 1.179 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.5165, allocations: 0 / 1.179 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0144/0.5309, allocations: 5.28 MB / 1.184 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.531, allocations: 8 kB / 1.184 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.531, allocations: 4.875 kB / 1.184 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00701/0.538, allocations: 1.883 MB / 1.186 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.5402, allocations: 411.3 kB / 1.186 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03208/0.5723, allocations: 24.14 MB / 1.21 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.5753, allocations: 311.5 kB / 1.21 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003982/0.5757, allocations: 75.97 kB / 1.21 GB, free: 1.676 MB / 0.9669 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001244/0.577, allocations: 450 kB / 1.211 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005719/0.5776, allocations: 181.9 kB / 1.211 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.5917, allocations: 5.32 MB / 1.216 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.5917, allocations: 16 kB / 1.216 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.858e-05/0.5918, allocations: 20 kB / 1.216 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.5918, allocations: 11.97 kB / 1.216 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/0.6123, allocations: 7.427 MB / 1.223 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/0.6123, allocations: 4 kB / 1.223 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/0.6152, allocations: 351.4 kB / 1.224 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/0.6253, allocations: 1.702 MB / 1.225 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002432/0.6256, allocations: 47.91 kB / 1.225 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02822/0.6538, allocations: 23.31 MB / 1.248 GB, free: 9.539 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6539, allocations: 4 kB / 1.248 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/0.6664, allocations: 4.895 MB / 1.253 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.6677, allocations: 498.7 kB / 1.253 GB, free: 4.047 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/0.668, allocations: 28 kB / 1.253 GB, free: 4.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/0.6702, allocations: 323.4 kB / 1.254 GB, free: 3.703 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006013/0.6708, allocations: 149 kB / 1.254 GB, free: 3.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/0.671, allocations: 55.97 kB / 1.254 GB, free: 3.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001098/0.6721, allocations: 0.7899 MB / 1.255 GB, free: 2.711 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6721, allocations: 0 / 1.255 GB, free: 2.711 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002415/0.6745, allocations: 0.6562 MB / 1.255 GB, free: 2.055 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.6433/1.318, allocations: 5.467 MB / 1.261 GB, free: 156 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.331, allocations: 5.144 MB / 1.266 GB, free: 155 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/1.331, allocations: 1 kB / 1.266 GB, free: 155 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008994/1.34, allocations: 3.355 MB / 1.269 GB, free: 154 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/1.344, allocations: 0.5523 MB / 1.27 GB, free: 154 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05452/1.398, allocations: 21.85 MB / 1.291 GB, free: 145.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/1.4, allocations: 1.569 MB / 1.292 GB, free: 144.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001663/1.402, allocations: 389.3 kB / 1.293 GB, free: 144.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007567/1.402, allocations: 0.6558 MB / 1.293 GB, free: 144.1 MB / 1.014 GB Notification: Performance of SimCode: time 1.342e-06/1.402, allocations: 0.7656 kB / 1.293 GB, free: 144.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.517, allocations: 58.75 MB / 1.351 GB, free: 99.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.74/21.25, allocations: 4 kB / 1.351 GB, free: 99.23 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches