Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001315/0.001315, allocations: 107.3 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.001298/0.001298, allocations: 193.5 kB / 16.25 MB, free: 6.152 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.229/1.229, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.326/2.326, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.4724, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006764/0.4792, allocations: 6.809 MB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003437/0.4826, allocations: 3.048 MB / 1.027 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.4828, allocations: 19.88 kB / 1.027 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.4848, allocations: 0.9031 MB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.4854, allocations: 473.7 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.4861, allocations: 403 kB / 1.028 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008977/0.487, allocations: 1.247 MB / 1.03 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.4878, allocations: 0.7309 MB / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003857/0.4882, allocations: 470.3 kB / 1.031 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.4887, allocations: 0.541 MB / 1.031 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.4888, allocations: 71.94 kB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.4892, allocations: 379.3 kB / 1.032 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.4894, allocations: 307.1 kB / 1.032 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.4897, allocations: 453.7 kB / 1.032 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008892/0.4906, allocations: 1.234 MB / 1.034 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4906, allocations: 0 / 1.034 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4906, allocations: 0 / 1.034 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.4907, allocations: 0 / 1.034 GB, free: 1.594 MB / 0.7794 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.001462/0.4921, allocations: 1.165 MB / 1.035 GB, free: 388 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.4922, allocations: 12.03 kB / 1.035 GB, free: 376 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.4923, allocations: 122.7 kB / 1.035 GB, free: 244 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.4937, allocations: 247.6 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/0.4943, allocations: 0.549 MB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.4943, allocations: 49.69 kB / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.4944, allocations: 60.36 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.4957, allocations: 1.089 MB / 1.037 GB, free: 14.1 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.4957, allocations: 7.906 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.4958, allocations: 32 kB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.4959, allocations: 85.25 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009862/0.4969, allocations: 0.7542 MB / 1.038 GB, free: 13.22 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/0.501, allocations: 5.897 MB / 1.043 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/0.5019, allocations: 0.5594 MB / 1.044 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.5022, allocations: 326 kB / 1.044 GB, free: 6.004 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.5023, allocations: 4.438 kB / 1.044 GB, free: 6 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.5023, allocations: 43 kB / 1.044 GB, free: 5.949 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 1.453e-06/0.5023, allocations: 0 / 1.044 GB, free: 5.949 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003218/0.5055, allocations: 1.982 MB / 1.046 GB, free: 3.871 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.5056, allocations: 59.84 kB / 1.046 GB, free: 3.801 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.5061, allocations: 0.5625 MB / 1.047 GB, free: 3.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.5061, allocations: 37.7 kB / 1.047 GB, free: 3.188 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.5063, allocations: 414.9 kB / 1.047 GB, free: 2.773 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.5064, allocations: 173.6 kB / 1.047 GB, free: 2.602 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.5066, allocations: 130.5 kB / 1.048 GB, free: 2.469 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5067, allocations: 374.7 kB / 1.048 GB, free: 2.094 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.5071, allocations: 273.8 kB / 1.048 GB, free: 1.824 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.5075, allocations: 497.5 kB / 1.049 GB, free: 1.242 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008429/0.5084, allocations: 0.8171 MB / 1.049 GB, free: 340 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5084, allocations: 3.938 kB / 1.049 GB, free: 336 kB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00155/0.5099, allocations: 1.083 MB / 1.051 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.51, allocations: 8 kB / 1.051 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.51, allocations: 8 kB / 1.051 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007074/0.5107, allocations: 271.5 kB / 1.051 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.5111, allocations: 131.7 kB / 1.051 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005359/0.5165, allocations: 7.142 MB / 1.058 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.517, allocations: 31.97 kB / 1.058 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.517, allocations: 35.83 kB / 1.058 GB, free: 7.031 MB / 0.8106 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.0002583/0.5173, allocations: 265.6 kB / 1.058 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.5174, allocations: 71.16 kB / 1.058 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.5187, allocations: 0.8924 MB / 1.059 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5187, allocations: 8 kB / 1.059 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5188, allocations: 4 kB / 1.059 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.5188, allocations: 0 / 1.059 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.5209, allocations: 1.713 MB / 1.061 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5209, allocations: 3.938 kB / 1.061 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.5212, allocations: 63.89 kB / 1.061 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006439/0.5218, allocations: 267.4 kB / 1.061 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.5219, allocations: 12 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005288/0.5272, allocations: 7.131 MB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5272, allocations: 0 / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.5284, allocations: 0.9912 MB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.5287, allocations: 196.2 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.5287, allocations: 15.94 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.5291, allocations: 23.97 kB / 1.069 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.5292, allocations: 43.94 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.5292, allocations: 20 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000344/0.5296, allocations: 387.1 kB / 1.07 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5296, allocations: 7.875 kB / 1.07 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006039/0.5302, allocations: 224 kB / 1.07 GB, free: 9.969 MB / 0.8262 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.001508/0.5317, allocations: 1.546 MB / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.5334, allocations: 1.33 MB / 1.073 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5334, allocations: 4.125 kB / 1.073 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.5345, allocations: 0.8854 MB / 1.074 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/0.5353, allocations: 216.6 kB / 1.074 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007149/0.5425, allocations: 6.85 MB / 1.081 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.543, allocations: 1.009 MB / 1.082 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003622/0.5433, allocations: 130 kB / 1.082 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.5436, allocations: 250.9 kB / 1.082 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.5436, allocations: 0 / 1.082 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.798/4.342, allocations: 17.23 MB / 1.099 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/4.342, allocations: 242.2 kB / 1.099 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/7.316, allocations: 0 / 1.099 GB, free: 12.11 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches