Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_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.007494/0.007494, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.002033/0.002033, allocations: 195.2 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.615/2.615, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 68.08 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.6488, 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.ACLineMedium): time 0.01753/0.6664, allocations: 14.79 MB / 1.235 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.6812, allocations: 10.35 MB / 1.245 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009086/0.6822, allocations: 55.69 kB / 1.245 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.6863, allocations: 1.694 MB / 1.246 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004516/0.6908, allocations: 1.823 MB / 1.248 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.6926, allocations: 0.7585 MB / 1.249 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003624/0.6962, allocations: 2.742 MB / 1.252 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.698, allocations: 1.399 MB / 1.253 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.6999, allocations: 1.508 MB / 1.254 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.7015, allocations: 1.167 MB / 1.256 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.7017, allocations: 160 kB / 1.256 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.7032, allocations: 0.7877 MB / 1.257 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005865/0.7038, allocations: 0.6076 MB / 1.257 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009723/0.7048, allocations: 0.9561 MB / 1.258 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.7079, allocations: 2.767 MB / 1.261 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7079, allocations: 0 / 1.261 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7079, allocations: 0 / 1.261 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.011e-05/0.7079, allocations: 3.984 kB / 1.261 GB, free: 8.32 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003758/0.7117, allocations: 2.223 MB / 1.263 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.7117, allocations: 20.02 kB / 1.263 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002334/0.712, allocations: 194.4 kB / 1.263 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.7243, allocations: 2.117 MB / 1.265 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.7268, allocations: 1.32 MB / 1.266 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.7269, allocations: 90.67 kB / 1.267 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.7271, allocations: 115.9 kB / 1.267 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005904/0.733, allocations: 2.667 MB / 1.269 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.7331, allocations: 19.89 kB / 1.269 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.7333, allocations: 51.98 kB / 1.269 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006676/0.7339, allocations: 194.1 kB / 1.27 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00814/0.7421, allocations: 2.791 MB / 1.272 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.7571, allocations: 10.47 MB / 1.282 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007201/0.7644, allocations: 2.34 MB / 1.285 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003366/0.7678, allocations: 1.284 MB / 1.286 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-05/0.7678, allocations: 13 kB / 1.286 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.7679, allocations: 47.56 kB / 1.286 GB, free: 13.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 2.555e-06/0.7679, allocations: 0 / 1.286 GB, free: 13.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=153): time 0.06307/0.831, allocations: 16.51 MB / 1.302 GB, free: 12.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.8311, allocations: 72.72 kB / 1.302 GB, free: 12.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.8327, allocations: 1.172 MB / 1.303 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.8329, allocations: 53.7 kB / 1.303 GB, free: 11.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/0.8334, allocations: 0.7567 MB / 1.304 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/0.8339, allocations: 0.5422 MB / 1.305 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006023/0.8346, allocations: 287.5 kB / 1.305 GB, free: 9.883 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8347, allocations: 305.1 kB / 1.305 GB, free: 9.582 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003873/0.8386, allocations: 1.51 MB / 1.307 GB, free: 8.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004066/0.8426, allocations: 1.78 MB / 1.309 GB, free: 6.195 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008062/0.8507, allocations: 3.373 MB / 1.312 GB, free: 2.727 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.8507, allocations: 4 kB / 1.312 GB, free: 2.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01449/0.8652, allocations: 5.285 MB / 1.317 GB, free: 13.4 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.8653, allocations: 8 kB / 1.317 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.8653, allocations: 11.98 kB / 1.317 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00719/0.8725, allocations: 1.876 MB / 1.319 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/0.8747, allocations: 419.2 kB / 1.319 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03118/0.9059, allocations: 24.16 MB / 1.343 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.9087, allocations: 303.5 kB / 1.343 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.9089, allocations: 71.91 kB / 1.343 GB, free: 1.441 MB / 1.061 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.0008183/0.9097, allocations: 465.5 kB / 1.344 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/0.91, allocations: 182.9 kB / 1.344 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/0.9246, allocations: 5.324 MB / 1.349 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.9247, allocations: 16 kB / 1.349 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.349e-05/0.9247, allocations: 20 kB / 1.349 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/0.9247, allocations: 11.91 kB / 1.349 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/0.9423, allocations: 7.43 MB / 1.356 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.9424, allocations: 4 kB / 1.356 GB, free: 3.812 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/0.9442, allocations: 351.7 kB / 1.357 GB, free: 3.469 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006302/0.9505, allocations: 1.71 MB / 1.358 GB, free: 1.738 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.9507, allocations: 47.91 kB / 1.358 GB, free: 1.691 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02973/0.9804, allocations: 23.32 MB / 1.381 GB, free: 9.262 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.9805, allocations: 4 kB / 1.381 GB, free: 9.258 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/0.9938, allocations: 4.904 MB / 1.386 GB, free: 4.27 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.9948, allocations: 0.4919 MB / 1.386 GB, free: 3.758 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/0.9952, allocations: 31.94 kB / 1.386 GB, free: 3.727 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/0.9976, allocations: 323.5 kB / 1.387 GB, free: 3.41 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005446/0.9981, allocations: 145 kB / 1.387 GB, free: 3.266 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.9983, allocations: 63.95 kB / 1.387 GB, free: 3.203 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001097/0.9994, allocations: 0.786 MB / 1.388 GB, free: 2.418 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9994, allocations: 0 / 1.388 GB, free: 2.418 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001887/1.001, allocations: 0.6562 MB / 1.388 GB, free: 1.762 MB / 1.107 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.01328/1.015, allocations: 5.487 MB / 1.394 GB, free: 12.18 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.027, allocations: 5.151 MB / 1.399 GB, free: 6.918 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.027, allocations: 0 / 1.399 GB, free: 6.918 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007537/1.034, allocations: 3.366 MB / 1.402 GB, free: 3.449 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.037, allocations: 0.5585 MB / 1.403 GB, free: 2.91 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04791/1.085, allocations: 21.91 MB / 1.424 GB, free: 12.5 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.086, allocations: 1.576 MB / 1.426 GB, free: 10.89 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001455/1.088, allocations: 378.4 kB / 1.426 GB, free: 10.51 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009396/1.089, allocations: 0.6593 MB / 1.427 GB, free: 9.852 MB / 1.154 GB Notification: Performance of SimCode: time 6.91e-07/1.089, allocations: 0 / 1.427 GB, free: 9.852 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/1.204, allocations: 58.74 MB / 1.484 GB, free: 15.81 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.71/20.92, allocations: 3.5 kB / 1.484 GB, free: 15.81 MB / 1.217 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches