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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005237/0.005237, allocations: 107.4 kB / 15.74 MB, free: 6.02 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.001331/0.001331, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.621/2.621, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 67.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.7288, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008517/0.7373, allocations: 6.809 MB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0048/0.7422, allocations: 3.067 MB / 1.23 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003897/0.7426, allocations: 27.81 kB / 1.23 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.7449, allocations: 0.942 MB / 1.231 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.746, allocations: 0.509 MB / 1.231 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.747, allocations: 444.8 kB / 1.232 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.7483, allocations: 1.224 MB / 1.233 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009254/0.7492, allocations: 0.6632 MB / 1.234 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005683/0.7498, allocations: 470.3 kB / 1.234 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006642/0.7505, allocations: 0.5215 MB / 1.234 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.7506, allocations: 72 kB / 1.235 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.7513, allocations: 379.2 kB / 1.235 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.7516, allocations: 319.1 kB / 1.235 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004318/0.752, allocations: 441.8 kB / 1.236 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.7533, allocations: 1.224 MB / 1.237 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7533, allocations: 0 / 1.237 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7533, allocations: 0 / 1.237 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.7534, allocations: 0 / 1.237 GB, free: 0.9258 MB / 0.9512 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.001853/0.7552, allocations: 1.191 MB / 1.238 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7553, allocations: 12.03 kB / 1.238 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.7554, allocations: 126.7 kB / 1.238 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.7569, allocations: 256 kB / 1.238 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/0.7578, allocations: 0.6042 MB / 1.239 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.7579, allocations: 53.67 kB / 1.239 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.758, allocations: 60.36 kB / 1.239 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.7595, allocations: 1.093 MB / 1.24 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.7595, allocations: 0 / 1.24 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.7596, allocations: 35.92 kB / 1.24 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/0.7598, allocations: 85.25 kB / 1.24 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.7609, allocations: 0.7465 MB / 1.241 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005649/0.7666, allocations: 5.886 MB / 1.247 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/0.7676, allocations: 0.5523 MB / 1.247 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004565/0.7681, allocations: 326 kB / 1.248 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.7681, allocations: 8.438 kB / 1.248 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.7682, allocations: 42.98 kB / 1.248 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.7682, allocations: 0 / 1.248 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.003778/0.7719, allocations: 1.999 MB / 1.25 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.772, allocations: 55.84 kB / 1.25 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.7726, allocations: 0.5665 MB / 1.25 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.7727, allocations: 33.7 kB / 1.25 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.773, allocations: 428 kB / 1.251 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.7731, allocations: 178.5 kB / 1.251 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.7733, allocations: 126.6 kB / 1.251 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.7735, allocations: 382.7 kB / 1.251 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.7739, allocations: 273.8 kB / 1.252 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.7745, allocations: 496.9 kB / 1.252 GB, free: 484 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7756, allocations: 0.8132 MB / 1.253 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7756, allocations: 4 kB / 1.253 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001791/0.7774, allocations: 1.091 MB / 1.254 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7774, allocations: 8 kB / 1.254 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.7774, allocations: 8 kB / 1.254 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000824/0.7782, allocations: 271.8 kB / 1.254 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.7787, allocations: 131.7 kB / 1.254 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006782/0.7855, allocations: 7.151 MB / 1.261 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.7861, allocations: 31.97 kB / 1.261 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.7861, allocations: 32 kB / 1.261 GB, free: 6.254 MB / 0.9825 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.0003546/0.7865, allocations: 254.1 kB / 1.262 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.7866, allocations: 75.58 kB / 1.262 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.7882, allocations: 0.8963 MB / 1.263 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.7882, allocations: 4 kB / 1.263 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7882, allocations: 4 kB / 1.263 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.7882, allocations: 3.984 kB / 1.263 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.7908, allocations: 1.721 MB / 1.264 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7909, allocations: 3.938 kB / 1.264 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.7911, allocations: 59.89 kB / 1.264 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007598/0.7919, allocations: 275.3 kB / 1.265 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.7919, allocations: 8 kB / 1.265 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006812/0.7988, allocations: 7.127 MB / 1.271 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7988, allocations: 192 / 1.271 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.8004, allocations: 0.9955 MB / 1.272 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.8006, allocations: 192.6 kB / 1.273 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.8007, allocations: 23.89 kB / 1.273 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.8011, allocations: 31.95 kB / 1.273 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.8012, allocations: 39.89 kB / 1.273 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.8013, allocations: 12 kB / 1.273 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004495/0.8017, allocations: 399.1 kB / 1.273 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8017, allocations: 3.938 kB / 1.273 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007876/0.8025, allocations: 224 kB / 1.273 GB, free: 9.18 MB / 0.9981 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.001867/0.8044, allocations: 1.537 MB / 1.275 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.8065, allocations: 1.275 MB / 1.276 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.8065, allocations: 128 / 1.276 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.8078, allocations: 0.9009 MB / 1.277 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.8089, allocations: 223.8 kB / 1.277 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008792/0.8177, allocations: 6.406 MB / 1.283 GB, free: 14.35 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.8184, allocations: 1.013 MB / 1.284 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004079/0.8188, allocations: 118 kB / 1.285 GB, free: 13.19 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.8191, allocations: 255.3 kB / 1.285 GB, free: 12.94 MB / 1.014 GB Notification: Performance of SimCode: time 9.12e-07/0.8191, allocations: 0 / 1.285 GB, free: 12.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05348/0.8726, allocations: 17.5 MB / 1.302 GB, free: 11.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.52, allocations: 17.48 kB / 1.302 GB, free: 11.76 MB / 1.029 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches